Fixed TODO testcase. Use symbol database instead of token list. Ticket: #2375

This commit is contained in:
Daniel Marjamäki 2011-01-01 17:54:37 +01:00
parent 3eabb4ebe0
commit 3c238882a2
2 changed files with 2 additions and 2 deletions

View File

@ -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
if (!info->derivedFrom.empty())

View File

@ -3431,7 +3431,7 @@ private:
" typedef int* (Fred::*UnspecifiedBoolType);\n"
" operator UnspecifiedBoolType() { array[0] = 0; };\n"
"};\n");
TODO_ASSERT_EQUALS("", errout.str());
ASSERT_EQUALS("", errout.str());
}
void const5()