Commit be7ce500 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 154880 - if "using namespace" used, call of a static member function in...

Bug 154880 - if "using namespace" used, call of a static member function in C++ is not recognized or recognized wrong
parent 2bc07213
......@@ -398,7 +398,7 @@ static CallContext g_theCallContext;
static void pushScope(const char *s)
{
g_classScopeLengthStack.push(new int(g_classScope.length()));
if (g_classScope.isEmpty())
if (g_classScope.isEmpty() || leftScopeMatch(s,g_classScope))
{
g_classScope = s;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment