]> granicus.if.org Git - clang/commit
PR11650: Implement resolution of core issue 1301. Value initialization can't be
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 14 Feb 2012 21:14:13 +0000 (21:14 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 14 Feb 2012 21:14:13 +0000 (21:14 +0000)
commit1d0c9a8d0573d1f670f484cc17aa94f06be971a5
treee13882eab9af4e402c59d4edad1f43212537293e
parent75d8ba38965998a07a057c6d1d72359d2cc62c09
PR11650: Implement resolution of core issue 1301. Value initialization can't be
used to construct an object of union type with a deleted default constructor
(plus fixes for some related value-initialization corner cases).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150502 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/CodeGenCXX/pr11676.cpp
test/SemaCXX/dr1301.cpp [new file with mode: 0644]