]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix RUN lines for old XFAIL tests, one of which actually works.
authorJordy Rose <jediknil@belkadan.com>
Wed, 16 May 2012 16:01:14 +0000 (16:01 +0000)
committerJordy Rose <jediknil@belkadan.com>
Wed, 16 May 2012 16:01:14 +0000 (16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156921 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/outofbound-notwork.c
test/Analysis/reference.cpp

index 45e713b6880abc3a93baec1629b59772b3c30dd2..c1fa2d7148e8b3d4870bcf1937d4c93d26333fca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wno-array-bounds -analyze -analyzer-checker=core,experimental.unix,experimental.security.ArrayBound -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -Wno-array-bounds -analyze -analyzer-checker=core,experimental.security.ArrayBound -analyzer-store=region -verify %s
 // XFAIL: *
 
 // Once we better handle modeling of sizes of VLAs, we can pull this back
index 5897e682884c775988dfd4926f383ccd0845229e..e80952b82289ff2baac214bb918db5d18eda4905 100644 (file)
@@ -1,11 +1,10 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-null-dereference %s
-// XFAIL
 
 typedef typeof(sizeof(int)) size_t;
 void malloc (size_t);
 
 void f1() {
-  int const &i = 3;  // <--- **FIXME** This is currently not being modeled correctly.
+  int const &i = 3;
   int b = i;
 
   int *p = 0;