Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:Struct

5   struct type_info;
7 template<typename T> struct initializer_list {
42 template<typename T> struct S {};
52 struct Ctor {
56 struct InitListCtor {
76 struct { int a; const int &r; } rr = { 0, {0} }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}}
79 struct DelayedDefaultArgumentParseInitList {
93 struct Defaulted {
98 struct RefQualifier {
114 struct Agg { int a, b; } const &agg = { 1, 2 }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}}
117 struct InClassInit {
121 struct OverrideControlBase {
125 struct OverrideControl final : OverrideControlBase { // expected-warning {{'final' keyword is incompatible with C++98}}
150 struct InhCtorBase {
153 struct InhCtorDerived : InhCtorBase {
157 struct FriendMember {
162 struct DelegCtor {
171 struct S {};
174 struct {} obj_of_unnamed_type; // expected-note {{here}}
179 template<int*p> struct S {};
185 template<typename T> struct S {}; // expected-note {{here}}
187 template<> struct TemplateSpecOutOfScopeNs::S<char> {}; // expected-warning {{class template specialization of 'S' outside namespace 'TemplateSpecOutOfScopeNs' is incompatible with C++98}}
189 struct Typename {
190 template<typename T> struct Inner {};
195 struct TrivialButNonPOD {
205 struct HasExplicitConversion {
209 struct Struct {};
211 struct BadFriends {
214 friend Struct; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}}
220 struct ImPrivate {};
229 struct NonTrivCtor {
232 struct NonTrivCopy {
235 struct NonTrivDtor {
243 struct Wrap {
244 struct {
245 NonTrivCtor ntc; // expected-warning {{anonymous struct member 'ntc' with a non-trivial constructor is incompatible with C++98}}
246 NonTrivCopy ntcp; // expected-warning {{anonymous struct member 'ntcp' with a non-trivial copy constructor is incompatible with C++98}}
247 NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor is incompatible with C++98}}
281 struct S {
297 template<typename T, T v> struct S {};
305 struct A {};
306 template<int*> struct X {};
307 template<int A::*> struct Y {};
313 struct basic_iterator {
324 struct a {
329 struct b {
340 struct X { // expected-note {{because type 'rdar11736429::X' has no default constructor}}
375 struct B { template<typename T> static T v; };