aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-23 02:50:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-23 02:50:20 +0000
commitf0dff4c00eeda61ecd25c9098a6b69d83828605d (patch)
treee4b6e2a4b82b78c884dcdc863a017783147d30fe
parent4e83501331f2561d6dc3294b525afacb1c59fb4d (diff)
More retain/release naming convention tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65303 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/refcnt_naming.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Analysis/refcnt_naming.m b/test/Analysis/refcnt_naming.m
index 9ffbf6c341..5af3711d25 100644
--- a/test/Analysis/refcnt_naming.m
+++ b/test/Analysis/refcnt_naming.m
@@ -16,6 +16,8 @@ typedef signed char BOOL;
-(NSObject*)__blebPRCopy; // read as "bleb PRCopy"
-(NSObject*)__blebPRcopy; // read as "bleb P Rcopy"
-(NSObject*)new_theprefixdoesnotcount; // read as "theprefixdoesnotcount"
+-(NSObject*)newestAwesomeStuff; // read as "newest awesome stuff"
+
@end
@interface MyClass : NSObject
@@ -48,6 +50,7 @@ void testNames(NamingTest* x) {
[x __blebPRCopy]; // expected-warning{{leak}}
[x __blebPRcopy]; // no-warning
[x new_theprefixdoesnotcount]; // no-warning
+ [x newestAwesomeStuff]; // no-warning
}