Astyle run.
This commit is contained in:
parent
fb2b29dc7d
commit
a7f1188151
|
@ -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% (")) {
|
||||||
|
|
Loading…
Reference in New Issue