[PATCH] CodeGen: Fix linkage of reference temporaries
David Majnemer
david.majnemer at gmail.com
Fri Apr 25 22:56:32 PDT 2014
Give reference temporaries private linkage if their variable has strong, external linkage.
http://reviews.llvm.org/D3515
Files:
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CodeGenModule.cpp
test/CXX/temp/temp.spec/temp.explicit/p1-emit.cpp
test/CodeGenCXX/const-init-cxx11.cpp
test/CodeGenCXX/const-init-cxx1y.cpp
test/CodeGenCXX/cxx11-thread-local.cpp
test/CodeGenCXX/cxx1y-variable-template.cpp
test/CodeGenCXX/specialized-static-data-mem-init.cpp
test/CodeGenCXX/static-init-3.cpp
test/CodeGenCXX/template-instantiation.cpp
test/CodeGenCXX/vla.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3515.8862.patch
Type: text/x-patch
Size: 13535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140426/d7059198/attachment.bin>
More information about the cfe-commits
mailing list