Astyle run.

This commit is contained in:
orbitcowboy 2017-03-21 14:22:28 +01:00
parent fb2b29dc7d
commit a7f1188151
2 changed files with 6 additions and 7 deletions

View File

@ -724,11 +724,10 @@ int TemplateSimplifier::getTemplateNamePosition(const Token *tok)
(Token::Match(tok, "> %type% %type% <") && Token::Match(tok->linkAt(3), "> :: %type% ("))) { (Token::Match(tok, "> %type% %type% <") && Token::Match(tok->linkAt(3), "> :: %type% ("))) {
namepos = 2 + (Token::Match(tok, "> %type% %type%")); namepos = 2 + (Token::Match(tok, "> %type% %type%"));
const Token *end = tok->linkAt(namepos); const Token *end = tok->linkAt(namepos);
for(const Token *tok2 = tok->tokAt(namepos) ; tok2 != end ; tok2 = tok2->next()) for (const Token *tok2 = tok->tokAt(namepos) ; tok2 != end ; tok2 = tok2->next())
++namepos; ++namepos;
namepos += 2; namepos += 2;
} } else if (Token::Match(tok, "> %type% *|&| %type% :: %type% (")) {
else if (Token::Match(tok, "> %type% *|&| %type% :: %type% (")) {
namepos = 4; namepos = 4;
starAmpPossiblePosition = 2; starAmpPossiblePosition = 2;
} else if (Token::Match(tok, "> %type% %type% *|&| %type% :: %type% (")) { } else if (Token::Match(tok, "> %type% %type% *|&| %type% :: %type% (")) {