[llvm-branch-commits] [cfe-tag] r91358 - /cfe/tags/checker/checker-232/test/Analysis/
Ted Kremenek
kremenek at apple.com
Mon Dec 14 15:17:24 PST 2009
Author: kremenek
Date: Mon Dec 14 17:17:23 2009
New Revision: 91358
URL: http://llvm.org/viewvc/llvm-project?rev=91358&view=rev
Log:
Merge in r91272 and r91348.
Modified:
cfe/tags/checker/checker-232/test/Analysis/CFDateGC.m
cfe/tags/checker/checker-232/test/Analysis/CFNumber.c
cfe/tags/checker/checker-232/test/Analysis/CFRetainRelease_NSAssertionHandler.m
cfe/tags/checker/checker-232/test/Analysis/CGColorSpace.c
cfe/tags/checker/checker-232/test/Analysis/CheckNSError.m
cfe/tags/checker/checker-232/test/Analysis/MissingDealloc.m
cfe/tags/checker/checker-232/test/Analysis/NSPanel.m
cfe/tags/checker/checker-232/test/Analysis/NSString-failed-cases.m
cfe/tags/checker/checker-232/test/Analysis/NSString.m
cfe/tags/checker/checker-232/test/Analysis/NSWindow.m
cfe/tags/checker/checker-232/test/Analysis/NoReturn.m
cfe/tags/checker/checker-232/test/Analysis/ObjCProperties.m
cfe/tags/checker/checker-232/test/Analysis/ObjCRetSigs.m
cfe/tags/checker/checker-232/test/Analysis/PR2599.m
cfe/tags/checker/checker-232/test/Analysis/PR2978.m
cfe/tags/checker/checker-232/test/Analysis/PR3991.m
cfe/tags/checker/checker-232/test/Analysis/array-struct.c
cfe/tags/checker/checker-232/test/Analysis/blocks.m
cfe/tags/checker/checker-232/test/Analysis/casts.c
cfe/tags/checker/checker-232/test/Analysis/casts.m
cfe/tags/checker/checker-232/test/Analysis/cfref_PR2519.c
cfe/tags/checker/checker-232/test/Analysis/cfref_rdar6080742.c
cfe/tags/checker/checker-232/test/Analysis/complex.c
cfe/tags/checker/checker-232/test/Analysis/concrete-address.c
cfe/tags/checker/checker-232/test/Analysis/conditional-op-missing-lhs.c
cfe/tags/checker/checker-232/test/Analysis/dead-stores.c
cfe/tags/checker/checker-232/test/Analysis/dead-stores.m
cfe/tags/checker/checker-232/test/Analysis/delegates.m
cfe/tags/checker/checker-232/test/Analysis/elementtype.c
cfe/tags/checker/checker-232/test/Analysis/exercise-ps.c
cfe/tags/checker/checker-232/test/Analysis/fields.c
cfe/tags/checker/checker-232/test/Analysis/func.c
cfe/tags/checker/checker-232/test/Analysis/malloc.c
cfe/tags/checker/checker-232/test/Analysis/misc-ps-64.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-basic-store.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-eager-assume.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-ranges.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-i386.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-x86_64.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store.m
cfe/tags/checker/checker-232/test/Analysis/misc-ps.m
cfe/tags/checker/checker-232/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
cfe/tags/checker/checker-232/test/Analysis/no-exit-cfg.c
cfe/tags/checker/checker-232/test/Analysis/no-outofbounds.c
cfe/tags/checker/checker-232/test/Analysis/null-deref-ps-region.c
cfe/tags/checker/checker-232/test/Analysis/null-deref-ps.c
cfe/tags/checker/checker-232/test/Analysis/outofbound.c
cfe/tags/checker/checker-232/test/Analysis/override-werror.c
cfe/tags/checker/checker-232/test/Analysis/plist-output.m
cfe/tags/checker/checker-232/test/Analysis/pr4209.m
cfe/tags/checker/checker-232/test/Analysis/pr_2542_rdar_6793404.m
cfe/tags/checker/checker-232/test/Analysis/pr_4164.c
cfe/tags/checker/checker-232/test/Analysis/ptr-arith.c
cfe/tags/checker/checker-232/test/Analysis/rdar-6442306-1.m
cfe/tags/checker/checker-232/test/Analysis/rdar-6540084.m
cfe/tags/checker/checker-232/test/Analysis/rdar-6541136-region.c
cfe/tags/checker/checker-232/test/Analysis/rdar-6541136.c
cfe/tags/checker/checker-232/test/Analysis/rdar-6562655.m
cfe/tags/checker/checker-232/test/Analysis/rdar-6582778-basic-store.c
cfe/tags/checker/checker-232/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
cfe/tags/checker/checker-232/test/Analysis/rdar-7168531.m
cfe/tags/checker/checker-232/test/Analysis/refcnt_naming.m
cfe/tags/checker/checker-232/test/Analysis/region-1.m
cfe/tags/checker/checker-232/test/Analysis/retain-release-basic-store.m
cfe/tags/checker/checker-232/test/Analysis/retain-release-gc-only.m
cfe/tags/checker/checker-232/test/Analysis/retain-release-region-store.m
cfe/tags/checker/checker-232/test/Analysis/retain-release.m
cfe/tags/checker/checker-232/test/Analysis/security-syntax-checks.m
cfe/tags/checker/checker-232/test/Analysis/sizeofpointer.c
cfe/tags/checker/checker-232/test/Analysis/stack-addr-ps.c
cfe/tags/checker/checker-232/test/Analysis/uninit-msg-expr.m
cfe/tags/checker/checker-232/test/Analysis/uninit-ps-rdar6145427.m
cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps-region.c
cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps.c
cfe/tags/checker/checker-232/test/Analysis/uninit-vals.c
cfe/tags/checker/checker-232/test/Analysis/uninit-vals.m
cfe/tags/checker/checker-232/test/Analysis/unions-region.m
cfe/tags/checker/checker-232/test/Analysis/unused-ivars.m
Modified: cfe/tags/checker/checker-232/test/Analysis/CFDateGC.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/CFDateGC.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/CFDateGC.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/CFDateGC.m Mon Dec 14 17:17:23 2009
@@ -1,8 +1,8 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=basic %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=range %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -disable-free %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=basic %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=range %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -disable-free %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
Modified: cfe/tags/checker/checker-232/test/Analysis/CFNumber.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/CFNumber.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/CFNumber.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/CFNumber.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
typedef signed long CFIndex;
typedef const struct __CFAllocator * CFAllocatorRef;
Modified: cfe/tags/checker/checker-232/test/Analysis/CFRetainRelease_NSAssertionHandler.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/CFRetainRelease_NSAssertionHandler.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/CFRetainRelease_NSAssertionHandler.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/CFRetainRelease_NSAssertionHandler.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
typedef struct objc_selector *SEL;
typedef signed char BOOL;
Modified: cfe/tags/checker/checker-232/test/Analysis/CGColorSpace.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/CGColorSpace.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/CGColorSpace.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/CGColorSpace.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
typedef struct CGColorSpace *CGColorSpaceRef;
extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
Modified: cfe/tags/checker/checker-232/test/Analysis/CheckNSError.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/CheckNSError.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/CheckNSError.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/CheckNSError.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
typedef signed char BOOL;
Modified: cfe/tags/checker/checker-232/test/Analysis/MissingDealloc.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/MissingDealloc.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/MissingDealloc.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/MissingDealloc.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s -verify
typedef signed char BOOL;
@protocol NSObject
- (BOOL)isEqual:(id)object;
Modified: cfe/tags/checker/checker-232/test/Analysis/NSPanel.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/NSPanel.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/NSPanel.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/NSPanel.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
// BEGIN delta-debugging reduced header stuff
Modified: cfe/tags/checker/checker-232/test/Analysis/NSString-failed-cases.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/NSString-failed-cases.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/NSString-failed-cases.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/NSString-failed-cases.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
-// RUN: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
// XFAIL: *
//===----------------------------------------------------------------------===//
Modified: cfe/tags/checker/checker-232/test/Analysis/NSString.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/NSString.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/NSString.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/NSString.m Mon Dec 14 17:17:23 2009
@@ -1,13 +1,13 @@
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
-// RUN: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
// ==-- FIXME: -analyzer-store=basic fails on this file (false negatives). --==
-// NOTWORK: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// NOTWORK: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// NOTWORK: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// NOTWORK: clang-cc -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// NOTWORK: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// NOTWORK: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// NOTWORK: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// NOTWORK: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
Modified: cfe/tags/checker/checker-232/test/Analysis/NSWindow.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/NSWindow.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/NSWindow.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/NSWindow.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=range -verify %s
// These declarations were reduced using Delta-Debugging from Foundation.h
// on Mac OS X. The test cases are below.
Modified: cfe/tags/checker/checker-232/test/Analysis/NoReturn.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/NoReturn.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/NoReturn.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/NoReturn.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
#include <stdarg.h>
Modified: cfe/tags/checker/checker-232/test/Analysis/ObjCProperties.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/ObjCProperties.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/ObjCProperties.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/ObjCProperties.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
// The point of this test cases is to exercise properties in the static
// analyzer
Modified: cfe/tags/checker/checker-232/test/Analysis/ObjCRetSigs.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/ObjCRetSigs.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/ObjCRetSigs.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/ObjCRetSigs.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-objc-methodsigs -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-methodsigs -verify %s
int printf(const char *, ...);
Modified: cfe/tags/checker/checker-232/test/Analysis/PR2599.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/PR2599.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/PR2599.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/PR2599.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
typedef const void * CFTypeRef;
typedef const struct __CFString * CFStringRef;
Modified: cfe/tags/checker/checker-232/test/Analysis/PR2978.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/PR2978.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/PR2978.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/PR2978.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc %s -verify
// Tests for the checker which checks missing/extra ivar 'release' calls
// in dealloc.
Modified: cfe/tags/checker/checker-232/test/Analysis/PR3991.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/PR3991.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/PR3991.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/PR3991.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
//===----------------------------------------------------------------------===//
// Delta-debugging produced forward declarations.
Modified: cfe/tags/checker/checker-232/test/Analysis/array-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/array-struct.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/array-struct.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/array-struct.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
struct s {
int data;
Modified: cfe/tags/checker/checker-232/test/Analysis/blocks.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/blocks.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/blocks.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/blocks.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from Mac OS X headers:
Modified: cfe/tags/checker/checker-232/test/Analysis/casts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/casts.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/casts.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/casts.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
// Test if the 'storage' region gets properly initialized after it is cast to
// 'struct sockaddr *'.
Modified: cfe/tags/checker/checker-232/test/Analysis/casts.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/casts.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/casts.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/casts.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
// Test function pointer casts. Currently we track function addresses using
// loc::FunctionVal. Because casts can be arbitrary, do we need to model
Modified: cfe/tags/checker/checker-232/test/Analysis/cfref_PR2519.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/cfref_PR2519.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/cfref_PR2519.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/cfref_PR2519.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
typedef unsigned char Boolean;
typedef signed long CFIndex;
Modified: cfe/tags/checker/checker-232/test/Analysis/cfref_rdar6080742.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/cfref_rdar6080742.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/cfref_rdar6080742.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/cfref_rdar6080742.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
// This test case was reported in <rdar:problem/6080742>.
// It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality).
Modified: cfe/tags/checker/checker-232/test/Analysis/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/complex.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/complex.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/complex.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
#include <stdint.h>
Modified: cfe/tags/checker/checker-232/test/Analysis/concrete-address.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/concrete-address.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/concrete-address.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/concrete-address.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
void foo() {
int *p = (int*) 0x10000; // Should not crash here.
Modified: cfe/tags/checker/checker-232/test/Analysis/conditional-op-missing-lhs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/conditional-op-missing-lhs.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/conditional-op-missing-lhs.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/conditional-op-missing-lhs.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-dead-stores -warn-uninit-values -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -warn-uninit-values -verify %s
void f1()
{
Modified: cfe/tags/checker/checker-232/test/Analysis/dead-stores.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/dead-stores.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/dead-stores.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/dead-stores.c Mon Dec 14 17:17:23 2009
@@ -1,8 +1,8 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-dead-stores -fblocks -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -fblocks -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
void f1() {
int k, y;
Modified: cfe/tags/checker/checker-232/test/Analysis/dead-stores.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/dead-stores.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/dead-stores.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/dead-stores.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
Modified: cfe/tags/checker/checker-232/test/Analysis/delegates.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/delegates.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/delegates.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/delegates.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
//===----------------------------------------------------------------------===//
Modified: cfe/tags/checker/checker-232/test/Analysis/elementtype.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/elementtype.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/elementtype.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/elementtype.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
typedef struct added_obj_st {
int type;
Modified: cfe/tags/checker/checker-232/test/Analysis/exercise-ps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/exercise-ps.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/exercise-ps.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/exercise-ps.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
//
// Just exercise the analyzer on code that has at one point caused issues
// (i.e., no assertions or crashes).
Modified: cfe/tags/checker/checker-232/test/Analysis/fields.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/fields.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/fields.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/fields.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
unsigned foo();
typedef struct bf { unsigned x:2; } bf;
Modified: cfe/tags/checker/checker-232/test/Analysis/func.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/func.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/func.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/func.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
void f(void) {
void (*p)(void);
Modified: cfe/tags/checker/checker-232/test/Analysis/malloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/malloc.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/malloc.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/malloc.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,9 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
typedef __typeof(sizeof(int)) size_t;
void *malloc(size_t);
void free(void *);
+void *realloc(void *ptr, size_t size);
+void *calloc(size_t nmemb, size_t size);
void f1() {
int *p = malloc(10);
@@ -35,3 +37,9 @@
p_f4 = malloc(10);
return p_f4; // no-warning
}
+
+int *f5() {
+ int *q = malloc(10);
+ q = realloc(q, 20);
+ return q; // no-warning
+}
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-64.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-64.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-64.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-64.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -fblocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
// <rdar://problem/6440393> - A bunch of misc. failures involving evaluating
// these expressions and building CFGs. These tests are here to prevent
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-basic-store.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-basic-store.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-basic-store.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-basic-store.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fblocks %s
//---------------------------------------------------------------------------
// Test case 'checkaccess_union' differs for region store and basic store.
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-eager-assume.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-eager-assume.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-eager-assume.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-eager-assume.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
// Delta-reduced header stuff (needed for test cases).
typedef signed char BOOL;
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-ranges.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-ranges.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-ranges.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-ranges.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
// <rdar://problem/6776949>
// main's 'argc' argument is always > 0
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-i386.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-i386.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-i386.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-i386.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
// Here is a case where a pointer is treated as integer, invalidated as an
// integer, and then used again as a pointer. This test just makes sure
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-x86_64.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-x86_64.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-x86_64.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store-x86_64.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
// Here is a case where a pointer is treated as integer, invalidated as an
// integer, and then used again as a pointer. This test just makes sure
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps-region-store.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
typedef struct objc_selector *SEL;
typedef signed char BOOL;
@@ -618,3 +618,21 @@
}
@end
+//===----------------------------------------------------------------------===//
+// <rdar://problem/7468209> - Scanning for live variables within a block should
+// not crash on variables passed by reference via __block.
+//===----------------------------------------------------------------------===//
+
+int rdar7468209_aux();
+void rdar7468209_aux2();
+
+void rdar7468209() {
+ __block int x = 0;
+ ^{
+ x = rdar7468209_aux();
+ // We need a second statement so that 'x' would be removed from the store if it wasn't
+ // passed by reference.
+ rdar7468209_aux_2();
+ }();
+}
+
Modified: cfe/tags/checker/checker-232/test/Analysis/misc-ps.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/misc-ps.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/misc-ps.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/misc-ps.m Mon Dec 14 17:17:23 2009
@@ -1,8 +1,8 @@
// NOTE: Use '-fobjc-gc' to test the analysis being run twice, and multiple reports are not issued.
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -fobjc-gc -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -fobjc-gc -analyzer-constraints=basic -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
typedef struct objc_ivar *Ivar;
typedef struct objc_selector *SEL;
Modified: cfe/tags/checker/checker-232/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin8 %s
-// RUN: clang-cc -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin8 %s
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin9 %s
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin9 %s
+// RUN: clang -cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin8 %s
+// RUN: clang -cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin8 %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin9 %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin9 %s
@interface MyClass {}
- (void *)voidPtrM;
Modified: cfe/tags/checker/checker-232/test/Analysis/no-exit-cfg.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/no-exit-cfg.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/no-exit-cfg.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/no-exit-cfg.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
// This is a test case for the issue reported in PR 2819:
// http://llvm.org/bugs/show_bug.cgi?id=2819
Modified: cfe/tags/checker/checker-232/test/Analysis/no-outofbounds.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/no-outofbounds.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/no-outofbounds.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/no-outofbounds.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=basic -verify %s
-// RUN: clang-cc -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=region -verify %s
+// RUN: clang -cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=region -verify %s
// XFAIL: *
//===----------------------------------------------------------------------===//
Modified: cfe/tags/checker/checker-232/test/Analysis/null-deref-ps-region.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/null-deref-ps-region.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/null-deref-ps-region.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/null-deref-ps-region.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
// The store for 'a[1]' should not be removed mistakenly. SymbolicRegions may
Modified: cfe/tags/checker/checker-232/test/Analysis/null-deref-ps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/null-deref-ps.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/null-deref-ps.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/null-deref-ps.c Mon Dec 14 17:17:23 2009
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -analyzer-no-purge-dead -verify %s
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -analyzer-no-purge-dead -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
typedef unsigned uintptr_t;
Modified: cfe/tags/checker/checker-232/test/Analysis/outofbound.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/outofbound.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/outofbound.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/outofbound.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
char f1() {
char* s = "abcd";
Modified: cfe/tags/checker/checker-232/test/Analysis/override-werror.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/override-werror.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/override-werror.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/override-werror.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=basic -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=region -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=basic -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=region -verify
// This test case illustrates that using '-analyze' overrides the effect of
// -Werror. This allows basic warnings not to interfere with producing
Modified: cfe/tags/checker/checker-232/test/Analysis/plist-output.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/plist-output.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/plist-output.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/plist-output.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-output=plist -o - %s | FileCheck %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-output=plist -o - %s | FileCheck %s
void test_null_init(void) {
int *p = 0;
Modified: cfe/tags/checker/checker-232/test/Analysis/pr4209.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/pr4209.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/pr4209.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/pr4209.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
// This test case was crashing due to how CFRefCount.cpp resolved the
// ObjCInterfaceDecl* and ClassName in EvalObjCMessageExpr.
Modified: cfe/tags/checker/checker-232/test/Analysis/pr_2542_rdar_6793404.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/pr_2542_rdar_6793404.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/pr_2542_rdar_6793404.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/pr_2542_rdar_6793404.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=region -verify %s
// BEGIN delta-debugging reduced header stuff
Modified: cfe/tags/checker/checker-232/test/Analysis/pr_4164.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/pr_4164.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/pr_4164.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/pr_4164.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
// PR 4164: http://llvm.org/bugs/show_bug.cgi?id=4164
//
Modified: cfe/tags/checker/checker-232/test/Analysis/ptr-arith.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/ptr-arith.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/ptr-arith.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/ptr-arith.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
void f1() {
int a[10];
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6442306-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6442306-1.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6442306-1.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6442306-1.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
typedef int bar_return_t;
typedef struct {
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6540084.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6540084.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6540084.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6540084.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
//
// This test exercises the live variables analysis (LiveVariables.cpp).
// The case originally identified a non-termination bug.
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6541136-region.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6541136-region.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6541136-region.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6541136-region.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
+// RUN: clang -cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
struct tea_cheese { unsigned magic; };
typedef struct tea_cheese kernel_tea_cheese_t;
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6541136.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6541136.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6541136.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6541136.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic %s
+// RUN: clang -cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic %s
struct tea_cheese { unsigned magic; };
typedef struct tea_cheese kernel_tea_cheese_t;
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6562655.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6562655.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6562655.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6562655.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region -verify %s
//
// This test case mainly checks that the retain/release checker doesn't crash
// on this file.
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6582778-basic-store.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6582778-basic-store.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6582778-basic-store.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6582778-basic-store.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
typedef const void * CFTypeRef;
typedef double CFTimeInterval;
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s -verify
typedef struct Foo { int x; } Bar;
Modified: cfe/tags/checker/checker-232/test/Analysis/rdar-7168531.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/rdar-7168531.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/rdar-7168531.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/rdar-7168531.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=region
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=basic
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=region
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=basic
// Note that the target triple is important for this test case. It specifies that we use the
// fragile Objective-C ABI.
Modified: cfe/tags/checker/checker-232/test/Analysis/refcnt_naming.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/refcnt_naming.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/refcnt_naming.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/refcnt_naming.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
typedef const struct __CFString * CFStringRef;
typedef const struct __CFAllocator * CFAllocatorRef;
Modified: cfe/tags/checker/checker-232/test/Analysis/region-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/region-1.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/region-1.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/region-1.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
//
// This test case simply should not crash. It evaluates the logic of not
// using MemRegion::getRValueType in incorrect places.
Modified: cfe/tags/checker/checker-232/test/Analysis/retain-release-basic-store.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/retain-release-basic-store.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/retain-release-basic-store.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/retain-release-basic-store.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
Modified: cfe/tags/checker/checker-232/test/Analysis/retain-release-gc-only.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/retain-release-gc-only.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/retain-release-gc-only.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/retain-release-gc-only.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify -fobjc-gc-only -fblocks %s
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -fblocks -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify -fobjc-gc-only -fblocks %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -fblocks -verify %s
//===----------------------------------------------------------------------===//
// Header stuff.
Modified: cfe/tags/checker/checker-232/test/Analysis/retain-release-region-store.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/retain-release-region-store.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/retain-release-region-store.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/retain-release-region-store.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
Modified: cfe/tags/checker/checker-232/test/Analysis/retain-release.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/retain-release.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/retain-release.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/retain-release.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
-// RUN: clang-cc -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
#if __has_feature(attribute_ns_returns_retained)
#define NS_RETURNS_RETAINED __attribute__((ns_returns_retained))
Modified: cfe/tags/checker/checker-232/test/Analysis/security-syntax-checks.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/security-syntax-checks.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/security-syntax-checks.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/security-syntax-checks.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin10 -analyze -warn-security-syntactic %s -verify
+// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -warn-security-syntactic %s -verify
// <rdar://problem/6336718> rule request: floating point used as loop
// condition (FLP30-C, FLP-30-CPP)
Modified: cfe/tags/checker/checker-232/test/Analysis/sizeofpointer.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/sizeofpointer.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/sizeofpointer.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/sizeofpointer.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -warn-sizeof-pointer -verify %s
+// RUN: clang -cc1 -analyze -warn-sizeof-pointer -verify %s
struct s {
};
Modified: cfe/tags/checker/checker-232/test/Analysis/stack-addr-ps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/stack-addr-ps.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/stack-addr-ps.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/stack-addr-ps.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
int* f1() {
int x = 0;
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-msg-expr.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-msg-expr.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-msg-expr.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-msg-expr.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-ps-rdar6145427.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-ps-rdar6145427.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-ps-rdar6145427.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-ps-rdar6145427.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -verify -analyzer-store=basic -checker-cfref %s
-// RUN: clang-cc -analyze -verify -analyzer-store=region -checker-cfref %s
+// RUN: clang -cc1 -analyze -verify -analyzer-store=basic -checker-cfref %s
+// RUN: clang -cc1 -analyze -verify -analyzer-store=region -checker-cfref %s
// Delta-Debugging reduced preamble.
typedef signed char BOOL;
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps-region.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps-region.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps-region.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps-region.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
struct s {
int data;
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-vals-ps.c Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
struct FPRec {
void (*my_func)(int * x);
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-vals.c
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-vals.c?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-vals.c (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-vals.c Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -warn-uninit-values -verify %s
+// RUN: clang -cc1 -analyze -warn-uninit-values -verify %s
int f1() {
int x;
Modified: cfe/tags/checker/checker-232/test/Analysis/uninit-vals.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/uninit-vals.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/uninit-vals.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/uninit-vals.m Mon Dec 14 17:17:23 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
typedef unsigned int NSUInteger;
Modified: cfe/tags/checker/checker-232/test/Analysis/unions-region.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/unions-region.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/unions-region.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/unions-region.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
+// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
//===-- unions-region.m ---------------------------------------------------===//
//
Modified: cfe/tags/checker/checker-232/test/Analysis/unused-ivars.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/checker/checker-232/test/Analysis/unused-ivars.m?rev=91358&r1=91357&r2=91358&view=diff
==============================================================================
--- cfe/tags/checker/checker-232/test/Analysis/unused-ivars.m (original)
+++ cfe/tags/checker/checker-232/test/Analysis/unused-ivars.m Mon Dec 14 17:17:23 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fblocks -analyze -warn-objc-unused-ivars %s -verify
+// RUN: clang -cc1 -fblocks -analyze -warn-objc-unused-ivars %s -verify
//===--- BEGIN: Delta-debugging reduced headers. --------------------------===//
More information about the llvm-branch-commits
mailing list