diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:38 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:38 +0000 |
commit | 55fa1d9b7ecb042d810b2f0f68d70492dc39e46f (patch) | |
tree | c584772498cae5b1f3346c66a5d40ac706e0b089 | |
parent | 8818d4570b916762513e2b5ec4ca7178b1e736a9 (diff) |
[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
-rw-r--r-- | tools/libclang/IndexBody.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |