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

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