astyle formatting

This commit is contained in:
Daniel Marjamäki 2013-08-10 12:32:59 +02:00
parent 3ac21ab1db
commit 64733d9e63
2 changed files with 2 additions and 3 deletions

View File

@ -2662,8 +2662,7 @@ static bool setVarIdParseDeclaration(const Token **tok, const std::map<std::stri
++typeCount;
}
} else if ((TemplateSimplifier::templateParameters(tok2) > 0) ||
Token::Match(tok2, "< >") /* Ticket #4764 */)
{
Token::Match(tok2, "< >") /* Ticket #4764 */) {
tok2 = tok2->findClosingBracket();
if (!Token::Match(tok2, ">|>>"))
break;

View File

@ -3216,7 +3216,7 @@ private:
"}");
ASSERT_EQUALS("", errout.str());
}
void varid3() { // #4764
check("struct foo {\n"
" void bar() { return; }\n"