[cfe-commits] [PATCH] PR13788 - sema crash on add initializer

Brian Brooks brooks.brian at gmail.com
Thu Nov 1 05:36:50 PDT 2012


Adding cfe-dev...

On Wed, Oct 31, 2012 at 5:26 PM, Brian Brooks <brooks.brian at gmail.com>wrote:

> The attached patch needs review please!
>
> I suspect that we may need to call RequireCompleteType() to do
> instantiation *even if* the VDecl is a dependent type.  I am not yet able
> to reason about this though.
>
> The patch prevents the abort, and the test case (extended with code to
> print initialized data) output looks the same in clang and gcc.
>
> Thanks in advance!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121101/aa97f722/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depdeclinit.patch
Type: application/octet-stream
Size: 1411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121101/aa97f722/attachment.obj>


More information about the cfe-commits mailing list