]> granicus.if.org Git - clang/commitdiff
Revert r156142, "[libclang] Bring back BodyIndexer::TraverseCXXOperatorCallExpr which"
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 6 May 2012 08:24:34 +0000 (08:24 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 6 May 2012 08:24:34 +0000 (08:24 +0000)
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156253 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/IndexBody.cpp

index 239dde21bd4e2f07caa970a92c2001d2c245d07e..e975a6d1be401a7c4e83ea7ad1593dc04d8943c9 100644 (file)
@@ -117,12 +117,6 @@ public:
     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());