From f2f72d12587d1265e4372bc498627b4e9fc5630c Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 18 May 2017 23:08:31 +0430 Subject: added a new option for mutagen extraction --- mutator-lvl0.cpp | 5 +++-- 1 file 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 MCD("MCD", cl::desc("MisraC switches to disable specific ru cl::opt MCEA("MCEA", cl::desc("MisraC switch to enable all rule checks"), cl::init(true), cl::cat(MutatorLVL0Cat), cl::Optional); cl::opt MCDA("MCDA", cl::desc("MisraC switches to disable all rule checks"), cl::init(false), cl::cat(MutatorLVL0Cat), cl::Optional); cl::opt SFRCPP("SFRCPP", cl::desc("Enables SaferCPlusPlus rule checks"), cl::init(true), cl::cat(MutatorLVL0Cat), cl::Optional); +cl::opt 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; }; -- cgit v1.2.3