From 16963d41bb102e08c7406581b682aa3a100915c2 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 5 Jan 2017 13:03:30 +0330 Subject: updated interface with the new overlaod --- mutator_aux.h | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- cgit v1.2.3