r326155 - [analyzer] Logging test quickfix.

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 26 17:13:29 PST 2018


Author: george.karpenkov
Date: Mon Feb 26 17:13:28 2018
New Revision: 326155

URL: http://llvm.org/viewvc/llvm-project?rev=326155&view=rev
Log:
[analyzer] Logging test quickfix.

Modified:
    cfe/trunk/test/Analysis/region_store_overflow.c

Modified: cfe/trunk/test/Analysis/region_store_overflow.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/region_store_overflow.c?rev=326155&r1=326154&r2=326155&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/region_store_overflow.c (original)
+++ cfe/trunk/test/Analysis/region_store_overflow.c Mon Feb 26 17:13:28 2018
@@ -1,5 +1,5 @@
+// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -mllvm -debug-only MemRegion %s 2>&1 | FileCheck %s
 // REQUIRES: asserts
-// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -mllvm -debug %s 2>&1 | FileCheck %s
 
 int **h;
 int overflow_in_memregion(long j) {
@@ -9,5 +9,4 @@ int overflow_in_memregion(long j) {
   }
   return 0;
 }
-// CHECK: {{.*}}
 // CHECK: MemRegion::getAsArrayOffset: offset overflowing, returning unknown




More information about the cfe-commits mailing list