diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-04 16:18:36 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-04 16:18:36 +0000 |
commit | 90b4072592cf08eda903e3bb28a143105e66c73e (patch) | |
tree | 4ce2195c12b8ddb26d94b2802f6dbe2017ee0eee /gcc/lto-cgraph.c | |
parent | a523d16aac74cf2935ae61181912c08f8c5251ff (diff) |
* doc/invoke.texi: Document -Wdelete-non-virtual-dtor.
c-family:
* c.opt: Add -Wdelete-non-virtual-dtor.
* c-opts.c (c_common_handle_option): Include it in -Wall.
cp:
* init.c (build_delete): Warn when deleting type with non-virtual
destructor.
testsuite:
* testsuite/g++.dg/warn/delete-non-virtual-dtor.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
0 files changed, 0 insertions, 0 deletions