Fix typo in r150549.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150555 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/IndexBody.cpp b/tools/libclang/IndexBody.cpp
index 77ff843..9330194 100644
--- a/tools/libclang/IndexBody.cpp
+++ b/tools/libclang/IndexBody.cpp
@@ -101,12 +101,12 @@
       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;