astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-07-24 14:54:13 +02:00
parent 3fa3a53580
commit 1ce261e44d
2 changed files with 3 additions and 3 deletions

View File

@ -3463,7 +3463,7 @@ void Tokenizer::simplifyTemplatesInstantiate(const Token *tok,
if (tok6->isName())
used.remove(tok6);
}
removeTokens.push_back( std::pair<Token*,Token*>(tok4, tok5->next()) );
removeTokens.push_back(std::pair<Token*,Token*>(tok4, tok5->next()));
}
tok4 = tok5;

View File

@ -112,7 +112,7 @@ private:
"}\n");
ASSERT_EQUALS("[test.cpp:7]: (performance) Prefer prefix ++/-- operators for non-primitive types.\n", errout.str());
check("\n"
check("\n"
"struct K {};"
"void foo()\n"
"{\n"
@ -121,7 +121,7 @@ private:
"}\n");
ASSERT_EQUALS("[test.cpp:5]: (performance) Prefer prefix ++/-- operators for non-primitive types.\n", errout.str());
check("\n"
check("\n"
"union K {};"
"void foo()\n"
"{\n"