[PATCH] Force a load when creating a reference to a temporary copied from a bitfield.

Jordan Rose jordan_rose at apple.com
Wed Apr 10 12:02:48 PDT 2013


  - Use new initialization step `SK_LValueToRValue` instead of a heavyweight implicit conversion.
  - Remove workaround for the old behavior from CodeGen.

Hi doug.gregor, rsmith,

http://llvm-reviews.chandlerc.com/D651

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D651?vs=1592&id=1593#toc

Files:
  include/clang/Sema/Initialization.h
  lib/AST/ExprConstant.cpp
  lib/CodeGen/CGExpr.cpp
  lib/Sema/SemaInit.cpp
  test/Analysis/reference.cpp
  test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D651.3.patch
Type: text/x-patch
Size: 24131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130410/7ee47bed/attachment.bin>


More information about the cfe-commits mailing list