Lines Matching full:destructor
17 // expected-error@+3 {{field of type 'NoDestroy' has private destructor}}
20 NoDestroy x; // expected-error {{field of type 'NoDestroy' has private destructor}}
24 // expected-note@+2 {{implicit destructor for 'B' first required here}}
33 void D::foo() { // expected-note {{implicit destructor for 'B' first required here}}
38 // expected-error@+3 {{field of type 'NoDestroy' has private destructor}}
41 NoDestroy x; // expected-error {{field of type 'NoDestroy' has private destructor}}
46 struct F : public E { // expected-note {{implicit destructor for 'E' first required here}}
58 void G::foo() { // expected-note {{implicit destructor for 'F' first required here}}
64 // expected-error@+3 {{field of type 'NoDestroy' has private destructor}}
67 NoDestroy x; // expected-error {{field of type 'NoDestroy' has private destructor}}
71 // expected-note@+2 {{implicit destructor for 'H' first required here}}
87 void J::foo() { // expected-note {{implicit destructor for 'H' first required here}}