[PATCH] AST: Mangle reference temporaries reliably

David Majnemer david.majnemer at gmail.com
Tue Apr 29 17:26:58 PDT 2014


Hi rsmith,

Previously, we would generate a single name for all reference
temporaries and allow LLVM to rename them for us.  Instead, number the
reference temporaries as we build them in Sema.

http://reviews.llvm.org/D3554

Files:
  include/clang/AST/ExprCXX.h
  include/clang/AST/Mangle.h
  lib/AST/ExprCXX.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/Sema/SemaCast.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaInit.cpp
  lib/Serialization/ASTReaderStmt.cpp
  lib/Serialization/ASTWriterStmt.cpp
  test/CodeGenCXX/const-init-cxx1y.cpp
  test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
  test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3554.8947.patch
Type: text/x-patch
Size: 32932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140430/6e034d53/attachment.bin>


More information about the cfe-commits mailing list