astyle formatting
This commit is contained in:
parent
3fa3a53580
commit
1ce261e44d
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue