diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-23 20:03:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-23 20:03:52 +0000 |
commit | 829bf507946a3db93400ff8b096adb88e6bc994d (patch) | |
tree | d44b3f661937c63b2009563bf2fe6e82116a5309 | |
parent | 1f0186cf0c7595877cde017059fb6b3764f90d2e (diff) |
Temporarily remove expected warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69917 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/NSString.m | 2 | ||||
-rw-r--r-- | 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 |