Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:functions

125 struct S1 { // expected-warning {{has virtual functions but non-virtual destructor}}
130 ~S2(); // expected-warning {{has virtual functions but non-virtual destructor}}
134 struct S3 : public S1 { // expected-warning {{has virtual functions but non-virtual destructor}}
138 struct S4 : public S2 { // expected-warning {{has virtual functions but non-virtual destructor}}
169 template<class T> class TS2 { // expected-warning {{'nonvirtualdtor::TS2<int>' has virtual functions but non-virtual destructor}}
179 struct B { // expected-warning {{has virtual functions but non-virtual destructor}}
183 struct D: B {}; // expected-warning {{has virtual functions but non-virtual destructor}}
185 struct F final: B {}; // expected-warning {{has virtual functions but non-virtual destructor}}
201 // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}} \
202 // expected-warning {{delete called on 'dnvd::D' that has virtual functions but non-virtual destructor}}
212 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
298 delete b; // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
302 delete b; // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
306 delete d; // expected-warning {{delete called on 'dnvd::D' that has virtual functions but non-virtual destructor}}