aboutsummaryrefslogtreecommitdiffstats
path: root/mutator_aux.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-05 09:33:30 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-05 09:33:30 +0000
commit16963d41bb102e08c7406581b682aa3a100915c2 (patch)
treebf7585c0f34162ae5090cfe6bcf8e6c8a9c15e12 /mutator_aux.h
parentadded a new overload for each report class for 19.1 (diff)
downloadmutator-16963d41bb102e08c7406581b682aa3a100915c2.tar.gz
mutator-16963d41bb102e08c7406581b682aa3a100915c2.zip
updated interface with the new overlaod
Diffstat (limited to 'mutator_aux.h')
-rw-r--r--mutator_aux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mutator_aux.h b/mutator_aux.h
index 48567f4..77d53bb 100644
--- a/mutator_aux.h
+++ b/mutator_aux.h
@@ -51,6 +51,9 @@ public:
void XMLAddNode(FullSourceLoc FSL, SourceLocation SL, std::string MisraRule, std::string Description);
/*another overload to support the xml output for PPCallbacks.*/
void XMLAddNode(const SourceManager &SM, SourceLocation SL, std::string MisraRule, std::string Description);
+
+ void XMLAddNode(std::string FilePath, std::string MisraRule, std::string Description);
+
void SaveReport(void);
private:
@@ -69,6 +72,9 @@ public:
void JSONAddElement(FullSourceLoc FSL, SourceLocation SL, std::string MisraRule, std::string Description);
/*overload for PPCallbacks.*/
void JSONAddElement(const SourceManager &SM, SourceLocation SL, std::string MisraRule, std::string Description);
+
+ void JSONAddElement(std::string FilePath, std::string MisraRule, std::string Description);
+
void CloseReport(void);
private: