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)
|
else if (std::strcmp(argv[i], "--experimental-fast") == 0)
|
||||||
// TODO: Reomve this flag!
|
// TODO: Reomve this flag!
|
||||||
;
|
;
|
||||||
|
|
||||||
// (Experimental) exception handling inside cppcheck client
|
// (Experimental) exception handling inside cppcheck client
|
||||||
else if (std::strcmp(argv[i], "--exception-handling") == 0)
|
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
|
// simplify more if required, skip rest of iteration if failed
|
||||||
if (mSimplify && hasRule("simple")) {
|
if (mSimplify && hasRule("simple")) {
|
||||||
// if further simplification fails then skip rest of iteration
|
// if further simplification fails then skip rest of iteration
|
||||||
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &S_timerResults);
|
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &S_timerResults);
|
||||||
result = mTokenizer.simplifyTokenList2();
|
result = mTokenizer.simplifyTokenList2();
|
||||||
timer3.Stop();
|
timer3.Stop();
|
||||||
if (!result)
|
if (!result)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!mSettings.terminated())
|
if (!mSettings.terminated())
|
||||||
executeRules("simple", mTokenizer);
|
executeRules("simple", mTokenizer);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (const simplecpp::Output &o) {
|
} catch (const simplecpp::Output &o) {
|
||||||
|
|
Loading…
Reference in New Issue