[PATCH] Sema CXX: sometimes allow inheritance from class with flexible array

Curtis Dunham curtis.dunham at gmail.com
Fri Feb 21 17:03:49 PST 2014


Hi all,
Please consider for review this patch.

If a class deriving from an base class with a flexible array has no new
data members of its own, the issue of the data member offset never comes
into play.  I have a large, mature codebase that tripped over this recently
added, but slightly overzealous, semantic check.

thanks,
Curtis Dunham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/c4a54c8a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SemaDeclCXX.cpp.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/c4a54c8a/attachment.bin>


More information about the cfe-commits mailing list