[clang-tools-extra] r349288 - Fix a lit test failure after MallocChecker changes

Kristof Umann via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 15 16:00:18 PST 2018


Author: szelethus
Date: Sat Dec 15 16:00:18 2018
New Revision: 349288

URL: http://llvm.org/viewvc/llvm-project?rev=349288&view=rev
Log:
Fix a lit test failure after MallocChecker changes

Modified:
    clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp?rev=349288&r1=349287&r2=349288&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp Sat Dec 15 16:00:18 2018
@@ -7,7 +7,7 @@ void f() {
   int *p = new int(42);
   delete p;
   delete p;
-  // CHECK: warning: Attempt to free released memory [clang-analyzer-cplusplus.NewDelete]
+  // CHECK: warning: Attempt to delete released memory [clang-analyzer-cplusplus.NewDelete]
 }
 
 void g() {




More information about the cfe-commits mailing list