[PATCH] D54834: [analyzer][MallocChecker] Improve warning messages on double-delete errors
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 15 10:40:44 PST 2018
Szelethus added a comment.
In D54834#1315475 <https://reviews.llvm.org/D54834#1315475>, @NoQ wrote:
> Thanks, nice catch!
>
> It seems that the `ReportDoubleDelete()` thing was never used for reporting double-delete, but it was used for some strange check when a destructor is called.
It was used for reporting, there actually is a test case for it in `test/Analysis/NewDelete-checker-test.cpp` on line 380.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54834/new/
https://reviews.llvm.org/D54834
More information about the cfe-commits
mailing list