[cfe-commits] r76670 - in /cfe/trunk/test/PCH: ext_vector.c functions.c method_pool.h

Mike Stump mrs at apple.com
Tue Jul 21 15:54:03 PDT 2009


Author: mrs
Date: Tue Jul 21 17:54:02 2009
New Revision: 76670

URL: http://llvm.org/viewvc/llvm-project?rev=76670&view=rev
Log:
Prep for new warning.

Modified:
    cfe/trunk/test/PCH/ext_vector.c
    cfe/trunk/test/PCH/functions.c
    cfe/trunk/test/PCH/method_pool.h

Modified: cfe/trunk/test/PCH/ext_vector.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/ext_vector.c?rev=76670&r1=76669&r2=76670&view=diff

==============================================================================
--- cfe/trunk/test/PCH/ext_vector.c (original)
+++ cfe/trunk/test/PCH/ext_vector.c Tue Jul 21 17:54:02 2009
@@ -7,4 +7,5 @@
 
 int test(float4 f4) {
   return f4.xy; // expected-error{{float2}}
+  return 1;
 }

Modified: cfe/trunk/test/PCH/functions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/functions.c?rev=76670&r1=76669&r2=76670&view=diff

==============================================================================
--- cfe/trunk/test/PCH/functions.c (original)
+++ cfe/trunk/test/PCH/functions.c Tue Jul 21 17:54:02 2009
@@ -12,6 +12,7 @@
     return f1(x, y);
   else
     return f1(x); // expected-error{{too few arguments to function call}}
+  return 0;
 }
 
 void test_g0(int *x, float * y) {

Modified: cfe/trunk/test/PCH/method_pool.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/method_pool.h?rev=76670&r1=76669&r2=76670&view=diff

==============================================================================
--- cfe/trunk/test/PCH/method_pool.h (original)
+++ cfe/trunk/test/PCH/method_pool.h Tue Jul 21 17:54:02 2009
@@ -22,8 +22,7 @@
 @end
 
 @implementation TestMethodPool1
-+ alloc {
-}
++ alloc { return 0; }
 
 - (double)instMethod:(int)foo {
   return foo;





More information about the cfe-commits mailing list