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
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 3 additions, 3 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaInit.cpp 5 additions, 5 deletionslib/Sema/SemaInit.cpp
- test/SemaCXX/cxx0x-initializer-constructor.cpp 19 additions, 2 deletionstest/SemaCXX/cxx0x-initializer-constructor.cpp
- test/SemaCXX/dcl_init_aggr.cpp 2 additions, 2 deletionstest/SemaCXX/dcl_init_aggr.cpp
- test/SemaCXX/new-delete-cxx0x.cpp 10 additions, 3 deletionstest/SemaCXX/new-delete-cxx0x.cpp
Loading
Please register or sign in to comment