[cfe-commits] r150555 - /cfe/trunk/tools/libclang/IndexBody.cpp

Douglas Gregor dgregor at apple.com
Tue Feb 14 19:41:00 PST 2012


Thank you!

Sent from my iPhone

On Feb 14, 2012, at 6:07 PM, Richard Smith <richard-llvm at metafoo.co.uk> wrote:

> 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
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list