aboutsummaryrefslogtreecommitdiffstats
path: root/m0/mutator_report.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-27 08:41:14 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-27 08:41:14 +0000
commit7abb76507eae14c5baf8e3b8cde4ee4ea8a22501 (patch)
treeccfb9af87dea1ccf8b3f9eff5f5b9a9197df0f3b /m0/mutator_report.h
parentit's working for the most part, the getter methods are also registering light... (diff)
downloadmutator-7abb76507eae14c5baf8e3b8cde4ee4ea8a22501.tar.gz
mutator-7abb76507eae14c5baf8e3b8cde4ee4ea8a22501.zip
did some code cleanup on m0 and bruiser, now you can specify report paths for m0, wip of dedrecating mutator.sh and mutator.py
Diffstat (limited to '')
-rw-r--r--m0/mutator_report.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/m0/mutator_report.h b/m0/mutator_report.h
index 0be06f6..730b7ec 100644
--- a/m0/mutator_report.h
+++ b/m0/mutator_report.h
@@ -80,7 +80,7 @@ namespace Devi {
bool isReportEmpty(void);
- void SaveReport(void);
+ void SaveReport(std::string savepath);
private:
XMLDocument XMLReportDoc;
@@ -92,7 +92,7 @@ namespace Devi {
public:
JSONReport();
- void JSONCreateReport(void);
+ void JSONCreateReport(std::string outpath);
void JSONAddElement(ASTContext* ASTC, SourceLocation SL, std::string MisraRule, std::string Description);
/*overload for checks that announce the result in onendoftranslation unit.*/
void JSONAddElement(FullSourceLoc FSL, SourceLocation SL, std::string MisraRule, std::string Description);