astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2017-04-17 22:16:02 +02:00
parent 1a95dc9bd6
commit d911eeba75
1 changed files with 2 additions and 1 deletions

View File

@ -1066,7 +1066,8 @@ static void createAstAtTokenInner(Token * const tok1, const Token *endToken, boo
}
}
static Token * findAstTop(Token *tok1, Token *tok2) {
static Token * findAstTop(Token *tok1, Token *tok2)
{
for (Token *tok = tok1; tok && (tok != tok2); tok = tok->next()) {
if (tok->astParent() || tok->astOperand1() || tok->astOperand2())
return const_cast<Token *>(tok->astTop());