summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndex.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-01 17:25:47 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-01 17:25:47 +0000
commitb3a58b08e0430ba08de73026a3ff264d467190cc (patch)
tree795c95eb35cf75e63eaa4dd52595159eaef3a7da /clang/tools/libclang/CIndex.cpp
parent48e6bbffa135ac9eaf0d8df8a1ec06247e235d12 (diff)
downloadbcm5719-llvm-b3a58b08e0430ba08de73026a3ff264d467190cc.tar.gz
bcm5719-llvm-b3a58b08e0430ba08de73026a3ff264d467190cc.zip
Revert r126748, my second attempt at nested-name-specifier source
location information for elaborated types. *sigh* llvm-svn: 126753
Diffstat (limited to 'clang/tools/libclang/CIndex.cpp')
-rw-r--r--clang/tools/libclang/CIndex.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 8c2111d4ad9..72d930ef9e2 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -343,7 +343,6 @@ public:
bool VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL);
bool VisitTypeOfTypeLoc(TypeOfTypeLoc TL);
bool VisitDependentNameTypeLoc(DependentNameTypeLoc TL);
- bool VisitElaboratedTypeLoc(ElaboratedTypeLoc TL);
// Data-recursive visitor functions.
bool IsInRegionOfInterest(CXCursor C);
@@ -1512,13 +1511,6 @@ bool CursorVisitor::VisitDependentNameTypeLoc(DependentNameTypeLoc TL) {
return false;
}
-bool CursorVisitor::VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) {
- if (VisitNestedNameSpecifierLoc(TL.getQualifierLoc()))
- return true;
-
- return Visit(TL.getNamedTypeLoc());
-}
-
bool CursorVisitor::VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) {
return Visit(TL.getPatternLoc());
}
OpenPOWER on IntegriCloud