summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/retain-release.m
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-09-10 17:35:24 +0000
committerTed Kremenek <kremenek@apple.com>2012-09-10 17:35:24 +0000
commite46c74f3ec36d32fdaed47e8dbd0fd034ea947a3 (patch)
tree790520f012f99de98e2cf56f351f6ab3e2c8f192 /clang/test/Analysis/retain-release.m
parentef4cc11cf9504642f7b991b41d2e754123688c28 (diff)
downloadbcm5719-llvm-e46c74f3ec36d32fdaed47e8dbd0fd034ea947a3.tar.gz
bcm5719-llvm-e46c74f3ec36d32fdaed47e8dbd0fd034ea947a3.zip
Re-enable FileCheck testing of retain-release.m test, and force
a C++ dialect. Let's see if this is the portability issue with this test. llvm-svn: 163524
Diffstat (limited to 'clang/test/Analysis/retain-release.m')
-rw-r--r--clang/test/Analysis/retain-release.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Analysis/retain-release.m b/clang/test/Analysis/retain-release.m
index cf19f27b923..f2149398045 100644
--- a/clang/test/Analysis/retain-release.m
+++ b/clang/test/Analysis/retain-release.m
@@ -1,8 +1,8 @@
// RUN: rm -f $t.objc.plist $t.objcpp.plist
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-store=region -fblocks -verify -Wno-objc-root-class %s -analyzer-output=plist -o %t.objc.plist
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-store=region -fblocks -verify -x objective-c++ -Wno-objc-root-class %s -analyzer-output=plist -o %t.objcpp.plist
-// FIX: FileCheck --input-file=%t.objc.plist %s
-// FIX: FileCheck --input-file=%t.objcpp.plist %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-store=region -fblocks -verify -x objective-c++ -std=gnu++98 -Wno-objc-root-class %s -analyzer-output=plist -o %t.objcpp.plist
+// RUN: FileCheck --input-file=%t.objc.plist %s
+// RUN: FileCheck --input-file=%t.objcpp.plist %s
#if __has_feature(attribute_ns_returns_retained)
#define NS_RETURNS_RETAINED __attribute__((ns_returns_retained))
OpenPOWER on IntegriCloud