]> granicus.if.org Git - clang/commitdiff
[libclang] Index namespaces in C++ qualified lookup of members, rdar://10732798
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 23 Jan 2012 16:58:38 +0000 (16:58 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 23 Jan 2012 16:58:38 +0000 (16:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148706 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/IndexBody.cpp

index 6dd45af814a9f898a9ed39421e255be98cb3afb3..08c7d18f69079c620ddbae0eed51c9acdc527b61 100644 (file)
@@ -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);