parent
8c5c070d6a
commit
62d972061b
|
@ -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) == "(")
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue