Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:declared

4 typedef struct X * X_t; // expected-warning{{previously declared}}
8 template<class U> class Y { }; // expected-warning{{previously declared}}
18 struct A; // expected-warning{{struct 'A' was previously declared as a class}}
23 struct B; // expected-warning{{struct 'B' was previously declared as a class}}
24 struct B {}; // expected-warning{{'B' defined as a struct here but previously declared as a class}}
27 struct C; // expected-warning{{struct 'C' was previously declared as a class}}\
30 class C; // expected-warning{{class 'C' was previously declared as a struct}}\
32 struct C; // expected-warning{{struct 'C' was previously declared as a class}}\
34 class C {}; // expected-warning{{'C' defined as a class here but previously declared as a struct}}
40 class D; // expected-warning{{class 'D' was previously declared as a struct}}\
55 template<class U> struct G; // expected-warning{{struct template 'G' was previously declared as a class template}}
56 template<class U> struct G {}; // expected-warning{{'G' defined as a struct template here but previously declared as a class template}}
60 CHECK: warning: struct 'X' was previously declared as a class
75 previously declared as a struct template
83 CHECK: warning: struct 'A' was previously declared as a class
90 CHECK: warning: struct 'B' was previously declared as a class
96 CHECK: 'B' defined as a struct here but previously declared as a class
108 CHECK: warning: struct 'C' was previously declared as a class
114 CHECK: warning: class 'C' was previously declared as a struct
120 CHECK: warning: struct 'C' was previously declared as a class
126 CHECK: warning: 'C' defined as a class here but previously declared as a struct
144 CHECK: warning: class 'D' was previously declared as a struct
157 CHECK: warning: struct template 'G' was previously declared as a class template
163 CHECK: warning: 'G' defined as a struct template here but previously declared as a class template