--inconclusive : Added command line flag that enable inconclusive checking. It is added for experimental purposes.

This commit is contained in:
Daniel Marjamäki 2011-04-10 12:52:59 +02:00
parent 1d86fb1738
commit 1178d47a9b
2 changed files with 5 additions and 1 deletions

View File

@ -95,6 +95,10 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
else if (strcmp(argv[i], "-a") == 0 || strcmp(argv[i], "--all") == 0)
;
// Inconclusive checking (still in testing phase)
else if (strcmp(argv[i], "--inconclusive") == 0)
_settings->inconclusive = true;
// Checking coding style
else if (strcmp(argv[i], "-s") == 0 || strcmp(argv[i], "--style") == 0)
{

View File

@ -55,7 +55,7 @@ public:
/** @brief Is --debug-warnings given? */
bool debugwarnings;
/** @brief Inconclusive checks - for debugging of Cppcheck */
/** @brief Inconclusive checks */
bool inconclusive;
/** @brief Is --style given? */