From 55fa1d9b7ecb042d810b2f0f68d70492dc39e46f Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 23 Jan 2012 16:58:38 +0000 Subject: [PATCH] [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 --- tools/libclang/IndexBody.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.40.0