]> granicus.if.org Git - clang/commit
Add new warning that warns when invoking 'delete' on a polymorphic, non-final, class...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 24 May 2011 19:53:26 +0000 (19:53 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 24 May 2011 19:53:26 +0000 (19:53 +0000)
commit6f0074ae2f466bae9f415da268d61a2dc1fabe26
tree8a170211f3db1dff8760816ec3ca81174a318305
parent63fe6814f339df30b8463b39995947cbdf920e48
Add new warning that warns when invoking 'delete' on a polymorphic, non-final, class without a virtual destructor.

Patch by Matthieu Monrocq!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131989 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/destructor.cpp