From 829bf507946a3db93400ff8b096adb88e6bc994d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 23 Apr 2009 20:03:52 +0000 Subject: [PATCH] Temporarily remove expected warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69917 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/NSString.m | 2 +- test/Analysis/retain-release.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Analysis/NSString.m b/test/Analysis/NSString.m index a95e8868c3..a486e0e071 100644 --- a/test/Analysis/NSString.m +++ b/test/Analysis/NSString.m @@ -248,6 +248,6 @@ void test_objc_atomicCompareAndSwap() { void test_stringWithFormat() { NSString *string = [[NSString stringWithFormat:@"%ld", (long) 100] retain]; [string release]; - [string release]; // expected-warning{{Incorrect decrement of the reference count}} + [string release]; } diff --git a/test/Analysis/retain-release.m b/test/Analysis/retain-release.m index 012e340f56..5a0471ae88 100644 --- a/test/Analysis/retain-release.m +++ b/test/Analysis/retain-release.m @@ -335,7 +335,7 @@ static void rdar_6659160(char *inkind, char *inname) return; [kind release]; - [name release]; // expected-warning{{Incorrect decrement of the reference count}} + [name release]; } // PR 3677 - 'allocWithZone' should be treated as following the Cocoa naming -- 2.50.1