[PATCH] D17407: [Sema] PR25755 Fix crash when initializing out-of-order struct references

don hinton via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 21:02:00 PST 2016


hintonda updated this revision to Diff 49281.
hintonda added a comment.

When checking record initialization, maintain a vector of remaining
fields that were not explicitly initialized and check only those
fields to see if they can be default initialized.


http://reviews.llvm.org/D17407

Files:
  lib/Sema/SemaInit.cpp
  test/SemaCXX/cxx0x-initializer-constructor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17407.49281.patch
Type: text/x-patch
Size: 4127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160227/387e6c4d/attachment.bin>


More information about the cfe-commits mailing list