[cfe-commits] r76606 - /cfe/trunk/test/Analysis/NSPanel.m
Mike Stump
mrs at apple.com
Tue Jul 21 11:45:22 PDT 2009
Author: mrs
Date: Tue Jul 21 13:45:22 2009
New Revision: 76606
URL: http://llvm.org/viewvc/llvm-project?rev=76606&view=rev
Log:
Prep for new warning.
Modified:
cfe/trunk/test/Analysis/NSPanel.m
Modified: cfe/trunk/test/Analysis/NSPanel.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/NSPanel.m?rev=76606&r1=76605&r2=76606&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/NSPanel.m (original)
+++ cfe/trunk/test/Analysis/NSPanel.m Tue Jul 21 13:45:22 2009
@@ -30,7 +30,7 @@
@end
typedef float CGFloat;
typedef struct _NSPoint {} NSRect;
-static __inline__ __attribute__((always_inline)) NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) {}
+static __inline__ __attribute__((always_inline)) NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) { NSRect r; return r; }
typedef struct {} NSFastEnumerationState;
@protocol NSFastEnumeration
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
More information about the cfe-commits
mailing list