PR11410: Extend diagnostic to cover all cases of aggregate initialization, not
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 3 Jun 2014 07:28:54 +0000 (07:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 3 Jun 2014 07:28:54 +0000 (07:28 +0000)
commit6c3bbf42712e4b10d6f43edaee685a6abd45ed68
treef748aef5f60071b2e9a46cda20171097b2bb0e22
parent076caf789760adb5a2d1028ad8357ce0e899ee87
PR11410: Extend diagnostic to cover all cases of aggregate initialization, not
just the extremely specific case of a trailing array element that couldn't be
initialized because the default constructor for the element type is deleted.

Also reword the diagnostic to better match our other context diagnostics and to
prepare for the implementation of core issue 1070.

llvm-svn: 210083
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaInit.cpp
clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
clang/test/SemaCXX/dcl_init_aggr.cpp
clang/test/SemaCXX/new-delete-cxx0x.cpp