From a8b1c559f791d42aad9ba821890553af3563f790 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 30 Nov 2016 13:18:57 +0330 Subject: added an overloaded member function for XMLReport to add nodes to the xml doc --- mutator_aux.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mutator_aux.h b/mutator_aux.h index 4f97d10..303d01f 100644 --- a/mutator_aux.h +++ b/mutator_aux.h @@ -20,6 +20,9 @@ public: void XMLCreateReport(void); void XMLAddNode(ASTContext* ASTC, SourceLocation SL, std::string MisraRule, std::string Description); + /*overloaded for rule checks that announce the result on onendoftranslation instead of run + since they dont have access to matchresult or astcontext.*/ + void XMLAddNode(FullSourceLoc FSL, SourceLocation SL, std::string MisraRule, std::string Description); void SaveReport(void); private: -- cgit v1.2.3