[PATCH] D17407: [Sema] PR25755 Fix crash when initializing out-of-order struct references
don hinton via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 18 12:58:32 PST 2016
hintonda created this revision.
hintonda added a reviewer: rsmith.
hintonda added a subscriber: cfe-commits.
Remove assert that fired whenever initialization lists had
errors, and pass VerifyOnly=false to PerformEmptyInit so we'll get diagnostics.
http://reviews.llvm.org/D17407
Files:
lib/Sema/SemaInit.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.list/p3-0x.cpp
test/SemaCXX/cxx0x-initializer-aggregates.cpp
test/SemaCXX/cxx0x-initializer-constructor.cpp
test/SemaCXX/dcl_init_aggr.cpp
test/SemaCXX/pr23514-crash-on-invalid.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17407.48389.patch
Type: text/x-patch
Size: 10527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160218/65444b73/attachment.bin>
More information about the cfe-commits
mailing list