From: Argyrios Kyrtzidis Date: Mon, 23 Jan 2012 16:58:38 +0000 (+0000) Subject: [libclang] Index namespaces in C++ qualified lookup of members, rdar://10732798 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55fa1d9b7ecb042d810b2f0f68d70492dc39e46f;p=clang [libclang] Index namespaces in C++ qualified lookup of members, rdar://10732798 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148706 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/IndexBody.cpp b/tools/libclang/IndexBody.cpp index 6dd45af814..08c7d18f69 100644 --- a/tools/libclang/IndexBody.cpp +++ b/tools/libclang/IndexBody.cpp @@ -34,6 +34,11 @@ public: return true; } + bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { + IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); + return true; + } + bool VisitDeclRefExpr(DeclRefExpr *E) { IndexCtx.handleReference(E->getDecl(), E->getLocation(), Parent, ParentDC, E);