From bdbe099dd2737feedfe75fd73b2dabf0d08042c0 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 21 Jul 2009 22:54:02 +0000 Subject: [PATCH] Prep for new warning. llvm-svn: 76670 --- clang/test/PCH/ext_vector.c | 1 + clang/test/PCH/functions.c | 1 + clang/test/PCH/method_pool.h | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/clang/test/PCH/ext_vector.c b/clang/test/PCH/ext_vector.c index 4b5c25980e56..ab5d2224ba83 100644 --- a/clang/test/PCH/ext_vector.c +++ b/clang/test/PCH/ext_vector.c @@ -7,4 +7,5 @@ int test(float4 f4) { return f4.xy; // expected-error{{float2}} + return 1; } diff --git a/clang/test/PCH/functions.c b/clang/test/PCH/functions.c index 6d3c5a0f7b81..29b873f56301 100644 --- a/clang/test/PCH/functions.c +++ b/clang/test/PCH/functions.c @@ -12,6 +12,7 @@ float *test_f1(int val, double x, double y) { 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) { diff --git a/clang/test/PCH/method_pool.h b/clang/test/PCH/method_pool.h index f7af9044d92d..80858360d725 100644 --- a/clang/test/PCH/method_pool.h +++ b/clang/test/PCH/method_pool.h @@ -22,8 +22,7 @@ @end @implementation TestMethodPool1 -+ alloc { -} ++ alloc { return 0; } - (double)instMethod:(int)foo { return foo;