From 121ec0a1a903d07ca8f5eaa6976f3233795a3d20 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 10 Sep 2012 17:35:24 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163524 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/retain-release.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Analysis/retain-release.m b/test/Analysis/retain-release.m index cf19f27b92..f214939804 100644 --- a/test/Analysis/retain-release.m +++ b/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)) -- 2.40.0