[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:41:30 PST 2018


Szelethus marked 2 inline comments as done.
Szelethus added inline comments.


================
Comment at: test/Analysis/NewDelete-checker-test.cpp:380
   delete foo;
   delete foo; // expected-warning {{Attempt to delete released memory}}
 }
----------------
Right here.


================
Comment at: test/Analysis/NewDelete-checker-test.cpp:392
   delete foo;
   delete foo;  // expected-warning {{Attempt to delete released memory}}
 }
----------------
And here.


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