Lines Matching full:note
10 virtual void foo() { abort(); } // expected-note 4 {{because type 'Virtual' has a virtual member function}}
13 class VirtualBase : virtual Okay { // expected-note 4 {{because type 'VirtualBase' has a virtual base class}}
17 Ctor() { abort(); } // expected-note 4 {{because type 'Ctor' has a user-declared constructor}}
20 Ctor2(); // expected-note 3 {{because type 'Ctor2' has a user-declared constructor}}
23 template<typename T> CtorTmpl(); // expected-note {{because type 'CtorTmpl' has a user-declared constructor}}
27 CopyCtor(CopyCtor &cc) { abort(); } // expected-note 4 {{because type 'CopyCtor' has a user-declared copy constructor}}
31 class CopyAssign { // expected-note 4 {{because type 'CopyAssign' has a user-declared copy assignment operator}}
36 ~Dtor() { abort(); } // expected-note 4 {{because type 'Dtor' has a user-declared destructor}}
53 Virtual v; // expected-note {{because type 'U2::<anonymous struct}}
56 VirtualBase vbase; // expected-note {{because type 'U2::<anonymous struct}}
59 Ctor ctor; // expected-note {{because type 'U2::<anonymous struct}}
62 Ctor2 ctor2; // expected-note {{because type 'U2::<anonymous struct}}
65 CopyCtor copyctor; // expected-note {{because type 'U2::<anonymous struct}}
68 CopyAssign copyassign; // expected-note {{because type 'U2::<anonymous struct}}
71 Dtor dtor; // expected-note {{because type 'U2::<anonymous struct}}
79 struct s1 : Virtual { // expected-note {{because type 'U3::s1' has a base class with a non-trivial copy constructor}}
81 struct s2 : VirtualBase { // expected-note {{because type 'U3::s2' has a base class with a non-trivial copy constructor}}
83 struct s3 : Ctor { // expected-note {{because type 'U3::s3' has a base class with a non-trivial constructor}}
85 struct s3a : Ctor2 { // expected-note {{because type 'U3::s3a' has a base class with a non-trivial constructor}}
87 struct s4 : CopyCtor { // expected-note {{because type 'U3::s4' has a base class with a non-trivial copy constructor}}
89 struct s5 : CopyAssign { // expected-note {{because type 'U3::s5' has a base class with a non-trivial copy assignment operator}}
91 struct s6 : Dtor { // expected-note {{because type 'U3::s6' has a base class with a non-trivial destructor}}
108 union { // expected-note 6 {{in instantiation of member class}}
118 Either<int,Virtual> virt(0); // expected-note {{in instantiation of template}}
119 Either<int,VirtualBase> vbase(0); // expected-note {{in instantiation of template}}
120 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}}
121 Either<int,CopyCtor> copyctor(0); // expected-note {{in instantiation of template}}
122 Either<int,CopyAssign> copyassign(0); // expected-note {{in instantiation of template}}
123 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}}