forked from OSchip/llvm-project
[libclang] Bring back BodyIndexer::TraverseCXXOperatorCallExpr which
was removed in r155969 to address a deficiency of RecursiveASTVisitor prior to recent changes on it. llvm-svn: 156142
This commit is contained in:
parent
6c57a4703d
commit
90c337a23c
|
@ -117,6 +117,12 @@ 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());
|
||||
|
|
Loading…
Reference in New Issue