[PATCH] D158156: [analyzer] Add C++ array delete checker
Discookie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 5 01:27:53 PDT 2023
Discookie updated this revision to Diff 555821.
Discookie added a comment.
Refactored the checkers to use a shared base class, otherwise I kept the same functionality.
I'll push this diff in a way where the blame transfers between the files, but I don't think keeping the file name the same makes sense, since this is definitely not a DeleteWithNonVirtualDtorChecker.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158156/new/
https://reviews.llvm.org/D158156
Files:
clang/docs/analyzer/checkers.rst
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/CXXDeleteChecker.cpp
clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
clang/test/Analysis/ArrayDelete.cpp
clang/www/analyzer/alpha_checks.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158156.555821.patch
Type: text/x-patch
Size: 21865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230905/53055be1/attachment-0001.bin>
More information about the cfe-commits
mailing list