[cfe-commits] r139516 - /cfe/trunk/test/Analysis/casts.m
Anna Zaks
ganna at apple.com
Mon Sep 12 11:28:35 PDT 2011
Author: zaks
Date: Mon Sep 12 13:28:35 2011
New Revision: 139516
URL: http://llvm.org/viewvc/llvm-project?rev=139516&view=rev
Log:
[analyzer] Simplify the test, use generic/more descriptive names.
Modified:
cfe/trunk/test/Analysis/casts.m
Modified: cfe/trunk/test/Analysis/casts.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/casts.m?rev=139516&r1=139515&r2=139516&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/casts.m (original)
+++ cfe/trunk/test/Analysis/casts.m Mon Sep 12 13:28:35 2011
@@ -26,16 +26,16 @@
@protocol NSObject - (BOOL)isEqual:(id)object; @end
@interface NSObject <NSObject> {} - (id)init; @end
typedef enum {
- AIMediaTypeAudio,
- AIMediaTypeVideo
-} AIMediaType;
- at interface AIMedia : NSObject {
- AIMediaType mediaType;
+ EEOne,
+ EETwo
+} RDR10087620Enum;
+ at interface RDR10087620 : NSObject {
+ RDR10087620Enum elem;
}
- at property (readwrite, nonatomic) AIMediaType mediaType;
+ at property (readwrite, nonatomic) RDR10087620Enum elem;
static void
-adium_media_ready_cb(AIMedia *adiumMedia, const char *sid)
+adium_media_ready_cb(RDR10087620 *InObj)
{
- adiumMedia.mediaType |= AIMediaTypeVideo;
+ InObj.elem |= EEOne;
}
@end
\ No newline at end of file
More information about the cfe-commits
mailing list