logic: skip everything except call operator when traversing lambda decl
This commit is contained in:
@@ -190,6 +190,11 @@ bool CxxAstVisitor::TraverseCXXRecordDecl(clang::CXXRecordDecl *d)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (d->isLambda())
|
||||
{
|
||||
return TraverseFunctionDecl(d->getLambdaCallOperator());
|
||||
}
|
||||
|
||||
WalkUpFromCXXRecordDecl(d);
|
||||
|
||||
TraverseNestedNameSpecifierLoc(d->getQualifierLoc());
|
||||
|
||||
Reference in New Issue
Block a user