From c2ec778641c0b7dd49696aed409f8a0fc0b6f7e8 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 21 Jul 2009 18:48:43 +0000 Subject: [PATCH] Prep for new warning. llvm-svn: 76609 --- clang/test/Analysis/rdar-6562655.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/Analysis/rdar-6562655.m b/clang/test/Analysis/rdar-6562655.m index 27e020c..1588e9e 100644 --- a/clang/test/Analysis/rdar-6562655.m +++ b/clang/test/Analysis/rdar-6562655.m @@ -53,7 +53,7 @@ typedef struct _NSRunArrayItem { @end @implementation Bar static Baz Qux = 0; -- (id)copyWithZone:(NSZone *)zone {} +- (id)copyWithZone:(NSZone *)zone { return 0; } - (void)encodeWithCoder:(NSCoder *)coder {} @end @implementation Bar (BarBotnet) @@ -61,5 +61,6 @@ static Baz Qux = 0; if (!(*(BarAuxiliary **)&self->_support)->auxCFlags.botnetIsSet) { _cFlags.botnet = [self _initialBotnetZorg]; } + while (1) {} } @end -- 2.7.4