[PATCH] Fix IRGen for referencing a static local before emitting its decl

Reid Kleckner rnk at google.com
Thu Sep 4 16:19:28 PDT 2014


  - Use getOrCreate* instead of GetAddr* and Create*

http://reviews.llvm.org/D4787

Files:
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprConstant.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/static-local-in-local-class.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4787.13291.patch
Type: text/x-patch
Size: 6803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140904/40f09ced/attachment.bin>


More information about the cfe-commits mailing list