astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-03-17 10:50:06 +01:00
parent 475036c4bc
commit a3257349b9
2 changed files with 9 additions and 9 deletions

View File

@ -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)

View File

@ -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) {