summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-23 16:58:38 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-23 16:58:38 +0000
commit9f777356a3a6c7ed5142d1dc41e4a815632a56ec (patch)
tree5cded19abc3ddb59037de146f3287c29dbb679df /clang/tools
parent84bd1648625edd1d3440d3ca6f45a77bfe26cd91 (diff)
downloadbcm5719-llvm-9f777356a3a6c7ed5142d1dc41e4a815632a56ec.tar.gz
bcm5719-llvm-9f777356a3a6c7ed5142d1dc41e4a815632a56ec.zip
[libclang] Index namespaces in C++ qualified lookup of members, rdar://10732798
llvm-svn: 148706
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/libclang/IndexBody.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/tools/libclang/IndexBody.cpp b/clang/tools/libclang/IndexBody.cpp
index 6dd45af814a..08c7d18f690 100644
--- a/clang/tools/libclang/IndexBody.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud