Reverted 9aa8a496. I don't know why I made this fix.

This commit is contained in:
Daniel Marjamäki 2012-01-02 19:45:20 +01:00
parent 38ee7523ad
commit e4f3f91c18
2 changed files with 0 additions and 12 deletions

View File

@ -3652,10 +3652,6 @@ void Tokenizer::setVarId()
continue;
}
if (tok->str() == "using") {
continue;
}
if (Token::Match(tok, "goto %any% ;"))
continue;

View File

@ -198,7 +198,6 @@ private:
TEST_CASE(varid40); // ticket #3279
TEST_CASE(varid41); // ticket #3340 (varid for union type)
TEST_CASE(varid42); // ticket #3316 (varid for array)
TEST_CASE(varid43);
TEST_CASE(varid44);
TEST_CASE(varidFunctionCall1);
TEST_CASE(varidFunctionCall2);
@ -3129,13 +3128,6 @@ private:
tokenizeDebugListing(code));
}
void varid43() {
const std::string code("namespace fruit { using banana; }");
ASSERT_EQUALS("\n\n##file 0\n"
"1: namespace fruit { using banana ; }\n",
tokenizeDebugListing(code));
}
void varid44() {
const std::string code("class A:public B,public C,public D {};");
ASSERT_EQUALS("\n\n##file 0\n"