Fix typo in r150549.

llvm-svn: 150555
This commit is contained in:
Richard Smith 2012-02-15 02:07:05 +00:00
parent f673e769a6
commit 19582e85bd
1 changed files with 3 additions and 3 deletions

View File

@ -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;