diff options
author | bloodstalker <thabogre@gmail.com> | 2017-05-18 23:38:03 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-05-18 23:38:03 +0000 |
commit | 8a4f0dbf8469968163bb86287877770d574a57e7 (patch) | |
tree | 83a7b65ed22912b015b03c3820000adc805551e8 /mutator_report.h | |
parent | fixed a tinyxml2 assert being thrown when the xml report ended up being empty (diff) | |
download | mutator-8a4f0dbf8469968163bb86287877770d574a57e7.tar.gz mutator-8a4f0dbf8469968163bb86287877770d574a57e7.zip |
fixed a tinyxml2 assert being thrown when the xml report ended up being empty
Diffstat (limited to '')
-rw-r--r-- | mutator_report.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mutator_report.h b/mutator_report.h index a1e955b..69f177d 100644 --- a/mutator_report.h +++ b/mutator_report.h @@ -47,6 +47,7 @@ class XMLReport { public: XMLReport(); + ~XMLReport(); void XMLCreateReport(void); void XMLAddNode(ASTContext* ASTC, SourceLocation SL, std::string MisraRule, std::string Description); @@ -60,6 +61,8 @@ public: void XMLAddNode(unsigned Line, unsigned Column, std::string FileName, std::string MisraRule, std::string Description); + bool isReportEmpty(void); + void SaveReport(void); private: |