Author: rsmith
Date: Tue Feb 14 20:07:05 2012
New Revision: 150555

URL: http://llvm.org/viewvc/llvm-project?rev=150555&view=rev
Log:
Fix typo in r150549.

Modified:
    cfe/trunk/tools/libclang/IndexBody.cpp

Modified: cfe/trunk/tools/libclang/IndexBody.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexBody.cpp?rev=150555&r1=150554&r2=150555&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexBody.cpp (original)
+++ cfe/trunk/tools/libclang/IndexBody.cpp Tue Feb 14 20:07:05 2012
@@ -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;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to