[cfe-commits] [patch] Fix a crash in code gen (& an accepts invalid) for arrays of arrays of user defined types under certain circumstances

David Blaikie dblaikie at gmail.com
Sat Mar 10 09:44:55 PST 2012


This fixes a hole in handling arrays of arrays of user defined types
that lead to the udt's ctor not being marked used (& not being
generated in the case of a non trivial implicit dtor in a template) &
not being access checked (in the case of a private dtor). The original
functionality doesn't seem to have ever been tested - so if there's
other test cases anyone thinks this functionality needs, I'd be happy
to add those here too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtor_crash.diff
Type: application/octet-stream
Size: 2296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120310/1ee01b03/attachment.obj>


More information about the cfe-commits mailing list