diff options
-rw-r--r-- | mutator_aux.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mutator_aux.h b/mutator_aux.h index 17837c8..4f97d10 100644 --- a/mutator_aux.h +++ b/mutator_aux.h @@ -5,11 +5,28 @@ #include <string> #include "clang/AST/AST.h" #include "clang/Rewrite/Core/Rewriter.h" +#include "tinyxml2/tinyxml2.h" using namespace clang; +using namespace tinyxml2; namespace Devi { SourceLocation SourceLocationHasMacro (SourceLocation SL, Rewriter &Rewrite, std::string Kind); + +class XMLReport +{ +public: + XMLReport(); + + void XMLCreateReport(void); + void XMLAddNode(ASTContext* ASTC, SourceLocation SL, std::string MisraRule, std::string Description); + void SaveReport(void); + +private: + XMLDocument XMLReportDoc; + XMLNode* RootPointer; +}; + } #endif
\ No newline at end of file |