[clang-tools-extra] r352290 - Fix a lit test failure after D54438

Kristof Umann via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 26 13:22:58 PST 2019


Author: szelethus
Date: Sat Jan 26 13:22:58 2019
New Revision: 352290

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

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

Modified: clang-tools-extra/trunk/test/clang-tidy/static-analyzer-config.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/static-analyzer-config.cpp?rev=352290&r1=352289&r2=352290&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/static-analyzer-config.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/static-analyzer-config.cpp Sat Jan 26 13:22:58 2019
@@ -1,5 +1,5 @@
 // REQUIRES: static-analyzer
-// RUN: clang-tidy %s -checks='-*,clang-analyzer-unix.Malloc' -config='{CheckOptions: [{ key: "clang-analyzer-unix.Malloc:Optimistic", value: true}]}' -- | FileCheck %s
+// RUN: clang-tidy %s -checks='-*,clang-analyzer-unix.Malloc' -config='{CheckOptions: [{ key: "clang-analyzer-unix.DynamicMemoryModeling:Optimistic", value: true}]}' -- | FileCheck %s
 typedef __typeof(sizeof(int)) size_t;
 void *malloc(size_t);
 void free(void *);




More information about the cfe-commits mailing list