Searched refs:dnvd (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Ddestructor.cpp195 namespace dnvd { // delete-non-virtual-dtor warning namespace
220 // expected-warning {{delete called on non-final 'dnvd::B' that has virtual functions but non-virtual destructor}} \
221 // expected-warning {{delete called on non-final 'dnvd::D' that has virtual functions but non-virtual destructor}}
231 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on non-final 'dnvd::B' that has virtual functions but non-virtual destructor}}
317 delete b; // expected-warning {{delete called on non-final 'dnvd::B' that has virtual functions but non-virtual destructor}}
321 delete b; // expected-warning {{delete called on non-final 'dnvd::B' that has virtual functions but non-virtual destructor}}
325 delete d; // expected-warning {{delete called on non-final 'dnvd::D' that has virtual functions but non-virtual destructor}}
354 simple_ptr<B> b(new B()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr<dnvd::B>::~simple_ptr' requested here}}
358 simple_ptr2<B> b(new D()); // expected-note {{in instantiation of member function 'dnvd
[all...]

Completed in 268 milliseconds