[cfe-commits] r69021 - in /cfe/trunk/lib: CodeGen/CGExpr.cpp Sema/SemaDecl.cpp

Chris Lattner clattner at apple.com
Mon Apr 13 21:11:42 PDT 2009


On Apr 13, 2009, at 7:45 PM, Mike Stump wrote:

> Author: mrs
> Date: Mon Apr 13 21:45:29 2009
> New Revision: 69021
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69021&view=rev
> Log:
> Use hasAttr instead of getAttr for conditionals.

Thanks,

>     LValue LV;
> -    bool GCable = VD->hasLocalStorage() && ! VD- 
> >getAttr<BlocksAttr>();
> +    bool GCable = VD->hasLocalStorage() && ! VD- 
> >hasAttr<BlocksAttr>();
>     if (VD->hasExternalStorage()) {

now no space after the !

:)

-Chris



More information about the cfe-commits mailing list