[cfe-commits] r156253 - /cfe/trunk/tools/libclang/IndexBody.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Sun May 6 01:24:35 PDT 2012
Author: chapuni
Date: Sun May 6 03:24:34 2012
New Revision: 156253
URL: http://llvm.org/viewvc/llvm-project?rev=156253&view=rev
Log:
Revert r156142, "[libclang] Bring back BodyIndexer::TraverseCXXOperatorCallExpr which"
It caused test/Index/index-many-call-ops.cpp to fail in stage2 c-index-test on selfhosting i686-cygwin and x86_64-linux since r156229 (Reverting making RecursiveASTVisitor data recursive).
Modified:
cfe/trunk/tools/libclang/IndexBody.cpp
Modified: cfe/trunk/tools/libclang/IndexBody.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexBody.cpp?rev=156253&r1=156252&r2=156253&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexBody.cpp (original)
+++ cfe/trunk/tools/libclang/IndexBody.cpp Sun May 6 03:24:34 2012
@@ -117,12 +117,6 @@
return true;
}
- bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *E) {
- if (E->getOperatorLoc().isInvalid())
- return true; // implicit.
- return base::TraverseCXXOperatorCallExpr(E);
- }
-
bool VisitDeclStmt(DeclStmt *S) {
if (IndexCtx.shouldIndexFunctionLocalSymbols())
IndexCtx.indexDeclGroupRef(S->getDeclGroup());
More information about the cfe-commits
mailing list