[cfe-commits] r163524 - /cfe/trunk/test/Analysis/retain-release.m

Ted Kremenek kremenek at apple.com
Mon Sep 10 10:35:24 PDT 2012


Author: kremenek
Date: Mon Sep 10 12:35:24 2012
New Revision: 163524

URL: http://llvm.org/viewvc/llvm-project?rev=163524&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Analysis/retain-release.m

Modified: cfe/trunk/test/Analysis/retain-release.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/retain-release.m?rev=163524&r1=163523&r2=163524&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/retain-release.m (original)
+++ cfe/trunk/test/Analysis/retain-release.m Mon Sep 10 12:35:24 2012
@@ -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))





More information about the cfe-commits mailing list