[cfe-commits] r66984 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp lib/CodeGen/CodeGenFunction.h test/CodeGen/blocks-1.c

Daniel Dunbar daniel at zuster.org
Sat Mar 14 21:17:41 PDT 2009


On Fri, Mar 13, 2009 at 4:34 PM, Mike Stump <mrs at apple.com> wrote:

> +    if (VD->getStorageClass() == VarDecl::Static
> +        || VD->getStorageClass() == VarDecl::Extern)
> +      LocalDeclMap[VD] = i->second;
> +  }


Private extern too, presumably. Unfortunately this predicate is still a bit
off (because of how we merge decls) but this is a problem in other places of
IRgen as well. We need to move this predicate into the Decl...

 - Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090314/5e15b79e/attachment.html>


More information about the cfe-commits mailing list