]> granicus.if.org Git - clang/commit
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)
commitc0e0d7966526e8052badfc75fdb42c7b1ae5ea1b
tree4cb3630a886c3430ebc07dc6bae9ebc418e158b2
parent99bae9d0426fcf8e6b5191cc17928ddf084f7a7a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210083 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/SemaCXX/cxx0x-initializer-constructor.cpp
test/SemaCXX/dcl_init_aggr.cpp
test/SemaCXX/new-delete-cxx0x.cpp