diff options
author | bloodstalker <thabogre@gmail.com> | 2017-03-12 11:34:28 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-03-12 11:34:28 +0000 |
commit | dce4e7b937c1c667e9effa647ee311273c8fe4a5 (patch) | |
tree | b8b272ad6cfd8da4018ab4ace67563cb317efa59 | |
parent | added a new c++14 build mode (diff) | |
download | mutator-dce4e7b937c1c667e9effa647ee311273c8fe4a5.tar.gz mutator-dce4e7b937c1c667e9effa647ee311273c8fe4a5.zip |
added a new option for SaferCPlusPlus
-rw-r--r-- | mutator-lvl0.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp index 29300cd..425767a 100644 --- a/mutator-lvl0.cpp +++ b/mutator-lvl0.cpp @@ -213,9 +213,12 @@ cl::opt<std::string> MCE("MCE", cl::desc("MisraC switches to enable specific rul cl::opt<std::string> MCD("MCD", cl::desc("MisraC switches to disable specific rule checks"), cl::init(" 9.3"), cl::cat(MutatorLVL0Cat), cl::Optional); 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(false), cl::cat(MutatorLVL0Cat), cl::Optional); /**********************************************************************************************************************/ class StringOptionsParser { +friend class MutatorLVL0Tests; + public: StringOptionsParser() {} |