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

/external/clang/test/SemaCXX/
H A Ddestructor.cpp189 namespace dnvd { // delete-non-virtual-dtor warning namespace
214 // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}} \
215 // expected-warning {{delete called on 'dnvd::D' that has virtual functions but non-virtual destructor}}
225 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
311 delete b; // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
315 delete b; // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
319 delete d; // expected-warning {{delete called on 'dnvd::D' that has virtual functions but non-virtual destructor}}
348 simple_ptr<B> b(new B()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr<dnvd::B>::~simple_ptr' requested here}}
352 simple_ptr2<B> b(new D()); // expected-note {{in instantiation of member function 'dnvd
[all...]

Completed in 103 milliseconds