Lines Matching full:constructor
17 … } // expected-note 2{{because type 'Ctor' has a user-provided default constructor}} expected-note… in Ctor()
20 …Ctor2(); // expected-note {{because type 'Ctor2' has a user-provided default constructor}} expecte…
22 class CtorTmpl { // expected-note {{because type 'CtorTmpl' has no default constructor}}
23 …T> CtorTmpl(); // expected-note {{implicit default constructor suppressed by user-declared constru…
26 class CopyCtor { // expected-note 2{{because no constructor can be used to copy an object of type '…
39 Virtual v; // expected-error {{union member 'v' has a non-trivial copy constructor}}
40 VirtualBase vbase; // expected-error {{union member 'vbase' has a non-trivial copy constructor}}
41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}}
42 Ctor2 ctor2; // expected-error {{union member 'ctor2' has a non-trivial constructor}}
43 CtorTmpl ctortmpl; // expected-error {{union member 'ctortmpl' has a non-trivial constructor}}
44 …CopyCtor copyctor; // expected-error {{union member 'copyctor' has a non-trivial copy constructor}}
53 } m1; // expected-error {{union member 'm1' has a non-trivial copy constructor}}
56 } m2; // expected-error {{union member 'm2' has a non-trivial copy constructor}}
58 …tor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor}}
59 } m3; // expected-error {{union member 'm3' has a non-trivial constructor}}
61 …2 ctor2; // expected-note {{because field of type 'Ctor2' has a user-provided default constructor}}
62 } m3a; // expected-error {{union member 'm3a' has a non-trivial constructor}}
63 struct { // expected-note {{no constructor can be used to copy an object of type 'const}}
65 } m4; // expected-error {{union member 'm4' has a non-trivial copy constructor}}
79 } m1; // expected-error {{union member 'm1' has a non-trivial copy constructor}}
81 } m2; // expected-error {{union member 'm2' has a non-trivial copy constructor}}
82 …or { // expected-note {{because base class of type 'Ctor' has a user-provided default constructor}}
83 } m3; // expected-error {{union member 'm3' has a non-trivial constructor}}
84 …2 { // expected-note {{because base class of type 'Ctor2' has a user-provided default constructor}}
85 } m3a; // expected-error {{union member 'm3a' has a non-trivial constructor}}
86 …struct s4 : CopyCtor { // expected-note {{because no constructor can be used to copy an object of …
87 } m4; // expected-error {{union member 'm4' has a non-trivial copy constructor}}
96 } m8; // expected-error {{union member 'm8' has a non-trivial constructor}}