[cfe-commits] r148706 - /cfe/trunk/tools/libclang/IndexBody.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon Jan 23 08:58:38 PST 2012


Author: akirtzidis
Date: Mon Jan 23 10:58:38 2012
New Revision: 148706

URL: http://llvm.org/viewvc/llvm-project?rev=148706&view=rev
Log:
[libclang] Index namespaces in C++ qualified lookup of members, rdar://10732798

Modified:
    cfe/trunk/tools/libclang/IndexBody.cpp

Modified: cfe/trunk/tools/libclang/IndexBody.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexBody.cpp?rev=148706&r1=148705&r2=148706&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexBody.cpp (original)
+++ cfe/trunk/tools/libclang/IndexBody.cpp Mon Jan 23 10:58:38 2012
@@ -34,6 +34,11 @@
     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);





More information about the cfe-commits mailing list