summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 20:50:41 +0000
committerMike Stump <mrs@apple.com>2009-07-21 20:50:41 +0000
commit087a3f7e0de31006f027668d7cdcb8588f0a2208 (patch)
treee34a2a94792f85399fbc55615254e447066c174f
parent944df00962fb2bcba5b0990848867c22e59469ed (diff)
downloadbcm5719-llvm-087a3f7e0de31006f027668d7cdcb8588f0a2208.tar.gz
bcm5719-llvm-087a3f7e0de31006f027668d7cdcb8588f0a2208.zip
Prep for new warning.
llvm-svn: 76637
-rw-r--r--clang/test/CodeGenObjC/property-agrr-getter.m2
-rw-r--r--clang/test/CodeGenObjC/protocols-lazy.m4
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenObjC/property-agrr-getter.m b/clang/test/CodeGenObjC/property-agrr-getter.m
index 0a1df123bff..0e9b040b1b9 100644
--- a/clang/test/CodeGenObjC/property-agrr-getter.m
+++ b/clang/test/CodeGenObjC/property-agrr-getter.m
@@ -9,7 +9,7 @@ typedef struct {
@end
@implementation A
--(s0) f0{}
+-(s0) f0{ while (1) {} }
- (unsigned) bar {
return self.f0.f0;
}
diff --git a/clang/test/CodeGenObjC/protocols-lazy.m b/clang/test/CodeGenObjC/protocols-lazy.m
index e91cc0aea83..a8f79026f78 100644
--- a/clang/test/CodeGenObjC/protocols-lazy.m
+++ b/clang/test/CodeGenObjC/protocols-lazy.m
@@ -26,7 +26,7 @@ void f1() { id x = @protocol(P3); }
// RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P4 %t | count 3 &&
@protocol P4 -im1; @end
@interface I0<P4> @end
-@implementation I0 -im1 {}; @end
+@implementation I0 -im1 { return 0; }; @end
// Definition following forward reference.
// RUN: grep OBJC_PROTOCOL_P5 %t | count 3 &&
@@ -42,7 +42,7 @@ void f2() { id x = @protocol(P5); } // This generates a forward
// RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P6 %t | count 3 &&
@protocol P6 -im1; @end
@interface I1<P6> @end
-@implementation I1 -im1 {}; @end
+@implementation I1 -im1 { return 0; }; @end
void f3() { id x = @protocol(P6); }
// RUN: true
OpenPOWER on IntegriCloud