Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 6a50042

Browse files
author
George Karpenkov
committed
[analyzer] Logging test quickfix #2.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326229 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 169c91d commit 6a50042

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/Analysis/region_store_overflow.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -mllvm -debug-only=MemRegion %s 2>&1 | FileCheck %s
2-
// REQUIRES: asserts
1+
// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -verify %s
32

3+
// expected-no-diagnostics
44
int **h;
55
int overflow_in_memregion(long j) {
66
for (int l = 0;; ++l) {
@@ -9,4 +9,3 @@ int overflow_in_memregion(long j) {
99
}
1010
return 0;
1111
}
12-
// CHECK: MemRegion::getAsArrayOffset: offset overflowing, returning unknown

0 commit comments

Comments
 (0)