]> granicus.if.org Git - clang/commit
[analyzer] Add new delete with non-virtual destructor check
authorGabor Horvath <xazax.hun@gmail.com>
Fri, 22 Sep 2017 10:16:33 +0000 (10:16 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Fri, 22 Sep 2017 10:16:33 +0000 (10:16 +0000)
commitd2eb6ef69c991be0aaf76afabd4c25c8050f9af2
tree998fbc17ee67838bb921e372698ca9712a60e86a
parentf87d7f14d48195ead20473bc44d24f9947916bd3
[analyzer] Add new delete with non-virtual destructor check

Patch by: Reka Nikolett Kovacs

Differential Revision: https://reviews.llvm.org/D35796

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313973 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp [new file with mode: 0644]
test/Analysis/DeleteWithNonVirtualDtor.cpp [new file with mode: 0644]