[llvm-branch-commits] [cfe-branch] r105231 - /cfe/branches/Apple/whitney/test/FixIt/typo.m

Daniel Dunbar daniel at zuster.org
Mon May 31 11:35:39 PDT 2010


Author: ddunbar
Date: Mon May 31 13:35:39 2010
New Revision: 105231

URL: http://llvm.org/viewvc/llvm-project?rev=105231&view=rev
Log:
Merge r105222:
--
Author: Douglas Gregor <dgregor at apple.com>
Date:   Mon May 31 14:58:57 2010 +0000

    Tweak test for non-64-bit Darwin

Modified:
    cfe/branches/Apple/whitney/test/FixIt/typo.m

Modified: cfe/branches/Apple/whitney/test/FixIt/typo.m
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/test/FixIt/typo.m?rev=105231&r1=105230&r2=105231&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/test/FixIt/typo.m (original)
+++ cfe/branches/Apple/whitney/test/FixIt/typo.m Mon May 31 13:35:39 2010
@@ -24,8 +24,8 @@
   int his_ivar; // expected-note 2{{'his_ivar' declared here}}
   float wibble;
 }
-- (void)method;
-+ (void)method;
+- (void)methodA;
++ (void)methodA;
 @property int his_prop; // expected-note{{'his_prop' declared here}}
 @end
 
@@ -41,6 +41,8 @@
 
 @implementation A
 @synthesize his_prop = his_ivar;
+- (void)methodA { }
++ (void)methodA { }
 @end
 
 @implementation B
@@ -148,7 +150,7 @@
 
 void f(A *a) {
   f(a) // expected-error{{expected ';' after expression}}
-  [a method] // expected-error{{expected ';' after expression}}
-  [A method] // expected-error{{expected ';' after expression}}
+  [a methodA] // expected-error{{expected ';' after expression}}
+  [A methodA] // expected-error{{expected ';' after expression}}
 }
 





More information about the llvm-branch-commits mailing list