[clang-tools-extra] r349341 - Revert rCTE349288 'Fix a lit test failure after MallocChecker changes'

Kristof Umann via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 17 04:08:40 PST 2018


Author: szelethus
Date: Mon Dec 17 04:08:39 2018
New Revision: 349341

URL: http://llvm.org/viewvc/llvm-project?rev=349341&view=rev
Log:
Revert rCTE349288 '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=349341&r1=349340&r2=349341&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/static-analyzer.cpp Mon Dec 17 04:08:39 2018
@@ -7,7 +7,7 @@ void f() {
   int *p = new int(42);
   delete p;
   delete p;
-  // CHECK: warning: Attempt to delete released memory [clang-analyzer-cplusplus.NewDelete]
+  // CHECK: warning: Attempt to free released memory [clang-analyzer-cplusplus.NewDelete]
 }
 
 void g() {




More information about the cfe-commits mailing list