[PATCH] [PATCH] DR712 - odr use and constant expressions

Faisal Vali faisalv at yahoo.com
Sun Dec 15 20:43:02 PST 2013


  For unused constexpr aggregates that make it into codegen - emit them as temporary variables as suggested by Eli Friedman.

  All tests seems to pass.

  Thoughts?

  Thanks!

Hi rsmith, rjmccall, doug.gregor,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1140?vs=2805&id=6114#toc

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprCXX.cpp
  test/CodeGenCXX/value-init.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1140.2.patch
Type: text/x-patch
Size: 10269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131215/662b9ac8/attachment.bin>


More information about the cfe-commits mailing list