[cfe-dev] [Patch] Fix out of line constructor definition parsing.

Piotr Rak piotr.rak at gmail.com
Wed Feb 25 16:31:30 PST 2009


2009/2/26 Eli Friedman <eli.friedman at gmail.com>:
> On Wed, Feb 25, 2009 at 12:37 PM, Piotr Rak <piotr.rak at gmail.com> wrote:
>> Last issue is that clang fails to parse my system stdio.h (form
>> glibc-2.6.1) namely:
>>
>> typedef union
>> {
>>  struct __gconv_info __cd;
>>  struct
>>  {
>>    struct __gconv_info __cd;
>>    struct __gconv_step_data __data;
>>  } __combined;
>> } _G_iconv_t;
>>
>> found in /usr/include/_G_config.h
>> Attached 'make report' result here, should I open PR for that?
>
> Yes, please do; we want to keep track of this.  I'm a little
> mystified, though... I can come up with a reduced testcase, but it
> doesn't trigger on my Ubuntu system.
>
> Reduced testcase:
> struct x {int x, y[];}; struct y {struct x x; int y;};
>
> -Eli
>

Opened PR 3671, http://llvm.org/bugs/show_bug.cgi?id=3671

Piotr




More information about the cfe-dev mailing list