summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-06-19 00:37:39 +0000
committerTed Kremenek <kremenek@apple.com>2012-06-19 00:37:39 +0000
commit9dcc0325de8df0624591b0501ec8f6409d0a7777 (patch)
tree7c3475017f78d422fa63aa958db4d8e77b8c410f /clang/test/Analysis
parent8cea63c5cd15d7ef30fa3a1103ca5a6dd2715a36 (diff)
downloadbcm5719-llvm-9dcc0325de8df0624591b0501ec8f6409d0a7777.tar.gz
bcm5719-llvm-9dcc0325de8df0624591b0501ec8f6409d0a7777.zip
Sink definition of IBOutlet, IBOutletCollection, and IBAction into
the compiler predefines buffer. These are essentially part of the Objective-C language. llvm-svn: 158690
Diffstat (limited to 'clang/test/Analysis')
-rw-r--r--clang/test/Analysis/MissingDealloc.m6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/Analysis/MissingDealloc.m b/clang/test/Analysis/MissingDealloc.m
index 51a5912d444..589fcf57f40 100644
--- a/clang/test/Analysis/MissingDealloc.m
+++ b/clang/test/Analysis/MissingDealloc.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=experimental.osx.cocoa.Dealloc '-DIBOutlet=__attribute__((iboutlet))' %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-checker=experimental.osx.cocoa.Dealloc %s -verify
typedef signed char BOOL;
@protocol NSObject
- (BOOL)isEqual:(id)object;
@@ -53,10 +53,6 @@ typedef struct objc_selector *SEL;
//===------------------------------------------------------------------------===
// Don't warn about iVars that are IBOutlets.
-#ifndef IBOutlet
-#define IBOutlet
-#endif
-
@class NSWindow;
@interface HasOutlet : NSObject {
OpenPOWER on IntegriCloud