[PATCH] diagnosing flexible array assignments

Aaron Ballman aaron at aaronballman.com
Tue Sep 10 14:03:34 PDT 2013


Currently, if you have a value assignment involving structures
containing a flexible array, no diagnostic is emitted.  However, since
the array members won't be copied as part of the assignment, a
diagnostic will help programmers avoid bugs.  This patch emits said
diagnostic.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FlexibleArrays.patch
Type: application/octet-stream
Size: 2496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130910/030fbcef/attachment.obj>


More information about the cfe-commits mailing list