[cfe-commits] r69010 - in /cfe/trunk: lib/CodeGen/CGExpr.cpp lib/Sema/SemaDecl.cpp test/CodeGenObjC/blocks-1.m

Mike Stump mrs at apple.com
Mon Apr 13 19:45:40 PDT 2009


On Apr 13, 2009, at 7:33 PM, Chris Lattner wrote:
>>  if (VD && (VD->isBlockVarDecl() || isa<ParmVarDecl>(VD) ||
>>        isa<ImplicitParamDecl>(VD))) {
>>    LValue LV;
>> +    bool GCable = VD->hasLocalStorage() && ! VD- 
>> >getAttr<BlocksAttr>();
>
> Please use hasAttr<>

Thanks. Fixed in 69021.  Side note, there are a ton of (bool)getAttr<>  
style uses in the code...



More information about the cfe-commits mailing list