parent
f673e769a6
commit
19582e85bd
|
@ -101,12 +101,12 @@ public:
|
|||
IndexCtx.indexDeclGroupRef(S->getDeclGroup());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool TraverseLambdaCapture(LambdaExpr::Capture C) {
|
||||
if (C.capturesThis())
|
||||
return true;
|
||||
|
||||
if (IndexCtx.indexFunctionLocalSymbols())
|
||||
|
||||
if (IndexCtx.shouldIndexFunctionLocalSymbols())
|
||||
IndexCtx.handleReference(C.getCapturedVar(), C.getLocation(),
|
||||
Parent, ParentDC);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue