r188480 - Add another test to my last patch (NS_OPTION vs. NS_ENUM)
Fariborz Jahanian
fjahanian at apple.com
Thu Aug 15 12:27:42 PDT 2013
Author: fjahanian
Date: Thu Aug 15 14:27:42 2013
New Revision: 188480
URL: http://llvm.org/viewvc/llvm-project?rev=188480&view=rev
Log:
Add another test to my last patch (NS_OPTION vs. NS_ENUM)
ObjectiveC migration.
Modified:
cfe/trunk/test/ARCMT/objcmt-ns-macros.m
cfe/trunk/test/ARCMT/objcmt-ns-macros.m.result
Modified: cfe/trunk/test/ARCMT/objcmt-ns-macros.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-ns-macros.m?rev=188480&r1=188479&r2=188480&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-ns-macros.m (original)
+++ cfe/trunk/test/ARCMT/objcmt-ns-macros.m Thu Aug 15 14:27:42 2013
@@ -70,3 +70,10 @@ enum {
UIKTwo = 0x2,
};
typedef NSInteger UIK;
+
+typedef enum {
+ NSTickMarkBelow = 0,
+ NSTickMarkAbove = 1,
+ NSTickMarkLeft = NSTickMarkAbove,
+ NSTickMarkRight = NSTickMarkBelow
+} NSTickMarkPosition;
Modified: cfe/trunk/test/ARCMT/objcmt-ns-macros.m.result
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-ns-macros.m.result?rev=188480&r1=188479&r2=188480&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-ns-macros.m.result (original)
+++ cfe/trunk/test/ARCMT/objcmt-ns-macros.m.result Thu Aug 15 14:27:42 2013
@@ -70,3 +70,10 @@ typedef NS_ENUM(NSInteger, UIK) {
UIKTwo = 0x2,
};
+
+typedef NS_ENUM(NSInteger, NSTickMarkPosition) {
+ NSTickMarkBelow = 0,
+ NSTickMarkAbove = 1,
+ NSTickMarkLeft = NSTickMarkAbove,
+ NSTickMarkRight = NSTickMarkBelow
+} ;
More information about the cfe-commits
mailing list