From c5580b8464664760280aca435776f1696580b40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 23 Oct 2007 06:37:13 +0000 Subject: [PATCH] CheckClass: Treating all "std::*" as initialized. --- CheckClass.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CheckClass.cpp b/CheckClass.cpp index 67b229f67..dee11bd5d 100644 --- a/CheckClass.cpp +++ b/CheckClass.cpp @@ -68,6 +68,13 @@ static struct VAR *ClassChecking_GetVarList(const char classname[]) 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] == '*') is_pointer = true;