diff options
author | bloodstalker <thabogre@gmail.com> | 2017-05-18 18:38:31 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-05-18 18:38:31 +0000 |
commit | f2f72d12587d1265e4372bc498627b4e9fc5630c (patch) | |
tree | 9c0866ccab2a9ec48cdbf5296a4260007cbc35e9 | |
parent | the memory leak is apparently a non-issue, for more info read the comment in ... (diff) | |
download | mutator-f2f72d12587d1265e4372bc498627b4e9fc5630c.tar.gz mutator-f2f72d12587d1265e4372bc498627b4e9fc5630c.zip |
added a new option for mutagen extraction
-rw-r--r-- | mutator-lvl0.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp index 213f8d1..d184a52 100644 --- a/mutator-lvl0.cpp +++ b/mutator-lvl0.cpp @@ -226,6 +226,7 @@ cl::opt<std::string> MCD("MCD", cl::desc("MisraC switches to disable specific ru cl::opt<bool> MCEA("MCEA", cl::desc("MisraC switch to enable all rule checks"), cl::init(true), cl::cat(MutatorLVL0Cat), cl::Optional); cl::opt<bool> MCDA("MCDA", cl::desc("MisraC switches to disable all rule checks"), cl::init(false), cl::cat(MutatorLVL0Cat), cl::Optional); cl::opt<bool> SFRCPP("SFRCPP", cl::desc("Enables SaferCPlusPlus rule checks"), cl::init(true), cl::cat(MutatorLVL0Cat), cl::Optional); +cl::opt<bool> mutagen("mutagen", cl::desc("runs mutagen after running the static tests"), cl::init(false), cl::cat(MutatorLVL0Cat), cl::Optional); /**********************************************************************************************************************/ class StringOptionsParser { @@ -6005,7 +6006,7 @@ class SFCPPARR02SUB : public MatchFinder::MatchCallback } private: - Rewriter &Rewrite; + Rewriter &Rewrite [[maybe_unused]]; SourceLocation ExtOriginSL; StringRef ExtOriginFileName; }; @@ -6050,7 +6051,7 @@ class SFCPPARR02 : public MatchFinder::MatchCallback } private: - Rewriter &Rewrite; + Rewriter &Rewrite [[maybe_unused]]; MatchFinder Matcher; SFCPPARR02SUB SubHandler; }; |