#ifndef MUTATOR_AUX_H #define MUTATOR_AUX_H #include #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