parent
475036c4bc
commit
a3257349b9
|
@ -171,7 +171,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
|||
|
||||
else if (std::strcmp(argv[i], "--experimental-fast") == 0)
|
||||
// TODO: Reomve this flag!
|
||||
;
|
||||
;
|
||||
|
||||
// (Experimental) exception handling inside cppcheck client
|
||||
else if (std::strcmp(argv[i], "--exception-handling") == 0)
|
||||
|
|
|
@ -436,15 +436,15 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
|||
|
||||
// simplify more if required, skip rest of iteration if failed
|
||||
if (mSimplify && hasRule("simple")) {
|
||||
// if further simplification fails then skip rest of iteration
|
||||
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &S_timerResults);
|
||||
result = mTokenizer.simplifyTokenList2();
|
||||
timer3.Stop();
|
||||
if (!result)
|
||||
continue;
|
||||
// if further simplification fails then skip rest of iteration
|
||||
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &S_timerResults);
|
||||
result = mTokenizer.simplifyTokenList2();
|
||||
timer3.Stop();
|
||||
if (!result)
|
||||
continue;
|
||||
|
||||
if (!mSettings.terminated())
|
||||
executeRules("simple", mTokenizer);
|
||||
if (!mSettings.terminated())
|
||||
executeRules("simple", mTokenizer);
|
||||
}
|
||||
|
||||
} catch (const simplecpp::Output &o) {
|
||||
|
|
Loading…
Reference in New Issue