astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-10-14 19:41:51 +02:00
parent 8c5c070d6a
commit 62d972061b
3 changed files with 28 additions and 29 deletions

View File

@ -1544,7 +1544,7 @@ void Tokenizer::simplifyTypedef()
tok2 = tok2->tokAt(2); tok2 = tok2->tokAt(2);
// skip over function parameters // skip over function parameters
if (tok2->str() == "(" ) if (tok2->str() == "(")
tok2 = tok2->link(); tok2 = tok2->link();
if (tok2->strAt(1) == "(") if (tok2->strAt(1) == "(")

View File

@ -1231,8 +1231,7 @@ private:
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void returnReference14() void returnReference14() {
{
check("struct C { void* m; };\n" check("struct C { void* m; };\n"
"struct A { void* &f(); };\n" "struct A { void* &f(); };\n"
"C* g() {\n" "C* g() {\n"