[cfe-commits] r76637 - in /cfe/trunk/test/CodeGenObjC: property-agrr-getter.m protocols-lazy.m

Fariborz Jahanian fjahanian at apple.com
Tue Jul 21 13:54:12 PDT 2009


On Jul 21, 2009, at 1:50 PM, Mike Stump wrote:

> Author: mrs
> Date: Tue Jul 21 15:50:41 2009
> New Revision: 76637
>
> URL: http://llvm.org/viewvc/llvm-project?rev=76637&view=rev
> Log:
> Prep for new warning.
>

Can you give more context to above statement.

- Fariborz

> Modified:
>    cfe/trunk/test/CodeGenObjC/property-agrr-getter.m
>    cfe/trunk/test/CodeGenObjC/protocols-lazy.m
>
> Modified: cfe/trunk/test/CodeGenObjC/property-agrr-getter.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/property-agrr-getter.m?rev=76637&r1=76636&r2=76637&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/test/CodeGenObjC/property-agrr-getter.m (original)
> +++ cfe/trunk/test/CodeGenObjC/property-agrr-getter.m Tue Jul 21  
> 15:50:41 2009
> @@ -9,7 +9,7 @@
> @end
>
> @implementation A
> --(s0) f0{}
> +-(s0) f0{ while (1) {} }
> - (unsigned) bar {
>   return self.f0.f0;
> }
>
> Modified: cfe/trunk/test/CodeGenObjC/protocols-lazy.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/protocols-lazy.m?rev=76637&r1=76636&r2=76637&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cfe/trunk/test/CodeGenObjC/protocols-lazy.m (original)
> +++ cfe/trunk/test/CodeGenObjC/protocols-lazy.m Tue Jul 21 15:50:41  
> 2009
> @@ -26,7 +26,7 @@
> // RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P4 %t | count 3 &&
> @protocol P4 -im1; @end
> @interface I0<P4> @end
> - at implementation I0 -im1 {}; @end
> + at implementation I0 -im1 { return 0; }; @end
>
> // Definition following forward reference.
> // RUN: grep OBJC_PROTOCOL_P5 %t | count 3  &&
> @@ -42,7 +42,7 @@
> // RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P6 %t | count 3 &&
> @protocol P6 -im1; @end
> @interface I1<P6> @end
> - at implementation I1 -im1 {}; @end
> + at implementation I1 -im1 { return 0; }; @end
> void f3() { id x = @protocol(P6); }
>
> // RUN: true
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list