Skip to content
Commit 1300fb96 authored by Chris Lattner's avatar Chris Lattner
Browse files

create field decl objects for the members of a struct/union. Diagnose code

like:
struct S { struct S {} X; };

with:
t.c:2:19: error: nested redefinition of 'struct'
struct S { struct S {} X; };
                  ^
t.c:2:1: error: previous definition is here
struct S { struct S {} X; };
^

llvm-svn: 39292
parent 6531c107
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment