[cfe-commits] r65303 - /cfe/trunk/test/Analysis/refcnt_naming.m

Ted Kremenek kremenek at apple.com
Sun Feb 22 18:50:20 PST 2009


Author: kremenek
Date: Sun Feb 22 20:50:20 2009
New Revision: 65303

URL: http://llvm.org/viewvc/llvm-project?rev=65303&view=rev
Log:
More retain/release naming convention tests.

Modified:
    cfe/trunk/test/Analysis/refcnt_naming.m

Modified: cfe/trunk/test/Analysis/refcnt_naming.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/refcnt_naming.m?rev=65303&r1=65302&r2=65303&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/refcnt_naming.m (original)
+++ cfe/trunk/test/Analysis/refcnt_naming.m Sun Feb 22 20:50:20 2009
@@ -16,6 +16,8 @@
 -(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 @@
   [x __blebPRCopy]; // expected-warning{{leak}}
   [x __blebPRcopy]; // no-warning
   [x new_theprefixdoesnotcount]; // no-warning
+  [x newestAwesomeStuff]; // no-warning
 }
 
 





More information about the cfe-commits mailing list