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 Private {
234 struct NoViable {
238 struct Ambiguous {
243 struct Deleted {
254 struct NonTrivCtor {
257 struct NonTrivCopy {
260 struct NonTrivDtor {
268 struct Wrap {
269 struct {
270 NonTrivCtor ntc; // expected-warning {{anonymous struct member 'ntc' with a non-trivial constructor is incompatible with C++98}}
271 NonTrivCopy ntcp; // expected-warning {{anonymous struct member 'ntcp' with a non-trivial copy constructor is incompatible with C++98}}
272 NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor is incompatible with C++98}}
306 struct S {
322 template<typename T, T v> struct S {};
330 struct A {};
331 template<int*> struct X {};
332 template<int A::*> struct Y {};
338 struct basic_iterator {
349 struct a {
354 struct b {
365 struct X { // expected-note {{because type 'rdar11736429::X' has no default constructor}}
400 struct B { template<typename T> static T v; };