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

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

Change-Id: Id158be80c42056c145c2b787d4f569e2c0a0b66e
Reviewed-on: default avatarQt Sanity Bot <>
Reviewed-by: default avatarChristian Kamm <>
parent 7250144d
......@@ -1115,6 +1115,8 @@ void CPlusPlus::findMatchingDeclaration(const LookupContext &context,
if (qName) {
if (qName->base())
binding = context.lookupType(qName->base(), enclosingScope);
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