CheckClass: Treating all "std::*" as initialized.

This commit is contained in:
Daniel Marjamäki 2007-10-23 06:37:13 +00:00
parent 5070bfd87d
commit c5580b8464
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@ static struct VAR *ClassChecking_GetVarList(const char classname[])
is_class |= (strcmp(c->name, tok->str) == 0); is_class |= (strcmp(c->name, tok->str) == 0);
} }
if (match(tok,"std ::"))
{
while (tok->next && tok->next->str[0] != ';')
tok = tok->next;
continue;
}
if (tok->str[0] == '*') if (tok->str[0] == '*')
is_pointer = true; is_pointer = true;