Fixed TODO testcase. Use symbol database instead of token list. Ticket: #2375
This commit is contained in:
parent
3eabb4ebe0
commit
3c238882a2
|
@ -972,7 +972,7 @@ void CheckClass::checkConst()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const Token *paramEnd = func->token->next()->link();
|
const Token *paramEnd = func->arg->link();
|
||||||
|
|
||||||
// check if base class function is virtual
|
// check if base class function is virtual
|
||||||
if (!info->derivedFrom.empty())
|
if (!info->derivedFrom.empty())
|
||||||
|
|
|
@ -3431,7 +3431,7 @@ private:
|
||||||
" typedef int* (Fred::*UnspecifiedBoolType);\n"
|
" typedef int* (Fred::*UnspecifiedBoolType);\n"
|
||||||
" operator UnspecifiedBoolType() { array[0] = 0; };\n"
|
" operator UnspecifiedBoolType() { array[0] = 0; };\n"
|
||||||
"};\n");
|
"};\n");
|
||||||
TODO_ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void const5()
|
void const5()
|
||||||
|
|
Loading…
Reference in New Issue