removed --exception-safety and added --enable
This commit is contained in:
parent
7397bfc765
commit
d70bc2359a
|
@ -110,8 +110,14 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
|
|||
_settings._checkCodingStyle = true;
|
||||
|
||||
// Checking exception safety
|
||||
else if (strcmp(argv[i], "--exception-safety") == 0)
|
||||
else if (strcmp(argv[i], "--enable") == 0)
|
||||
{
|
||||
// enable all checking
|
||||
_settings._showAll = true;
|
||||
_settings._checkCodingStyle = true;
|
||||
_settings._exceptionSafety = true;
|
||||
_settings._unusedFunctions = true;
|
||||
}
|
||||
|
||||
// Filter errors
|
||||
else if (strcmp(argv[i], "--suppressions") == 0)
|
||||
|
|
Loading…
Reference in New Issue