Commit 451e9dbb authored by Christian Kamm's avatar Christian Kamm

C++: Fix ::A name handling in findMatchingDeclaration.

Change-Id: Id158be80c42056c145c2b787d4f569e2c0a0b66e
Reviewed-on: http://codereview.qt.nokia.com/2932Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent 7250144d
......@@ -1115,6 +1115,8 @@ void CPlusPlus::findMatchingDeclaration(const LookupContext &context,
if (qName) {
if (qName->base())
binding = context.lookupType(qName->base(), enclosingScope);
else
binding = context.globalNamespace();
functionName = qName->name();
}
......
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