Skip to content
Snippets Groups Projects
Commit 451e9dbb authored by Christian Kamm's avatar Christian Kamm
Browse files

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

Change-Id: Id158be80c42056c145c2b787d4f569e2c0a0b66e
Reviewed-on: http://codereview.qt.nokia.com/2932


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent 7250144d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment