From dce4e7b937c1c667e9effa647ee311273c8fe4a5 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 12 Mar 2017 15:04:28 +0330 Subject: added a new option for SaferCPlusPlus --- mutator-lvl0.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mutator-lvl0.cpp') 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 MCE("MCE", cl::desc("MisraC switches to enable specific rul cl::opt MCD("MCD", cl::desc("MisraC switches to disable specific rule checks"), cl::init(" 9.3"), cl::cat(MutatorLVL0Cat), cl::Optional); 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(false), cl::cat(MutatorLVL0Cat), cl::Optional); /**********************************************************************************************************************/ class StringOptionsParser { +friend class MutatorLVL0Tests; + public: StringOptionsParser() {} -- cgit v1.2.3