astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-11-12 06:32:02 +01:00
parent 58882b1f14
commit 717a2d370c
1 changed files with 2 additions and 2 deletions

View File

@ -309,10 +309,10 @@ static bool isEscapeScope(const Token* tok, TokenList * tokenlist, bool unknown
if (!Token::simpleMatch(tok, "{"))
return false;
const Token * termTok = Token::findmatch(tok, "return|continue|break|throw|goto", tok->link());
if(termTok && termTok->scope() == tok->scope())
if (termTok && termTok->scope() == tok->scope())
return true;
std::string unknownFunction;
if(tokenlist && tokenlist->getSettings()->library.isScopeNoReturn(tok->link(), &unknownFunction))
if (tokenlist && tokenlist->getSettings()->library.isScopeNoReturn(tok->link(), &unknownFunction))
return unknownFunction.empty() || unknown;
return false;
}