diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2018-11-30 18:43:02 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2018-11-30 18:43:02 +0000 |
commit | 4b5b0c0025c3238f7a8894ba1ac28b6f2394286a (patch) | |
tree | c4c2609ea00629f3aff56d9c8df6c9d945957a4d /clang/test/Misc/ast-print-objectivec.m | |
parent | 1901a12e765f2404b5908ab8004c5ceefa79db1f (diff) | |
download | bcm5719-llvm-4b5b0c0025c3238f7a8894ba1ac28b6f2394286a.tar.gz bcm5719-llvm-4b5b0c0025c3238f7a8894ba1ac28b6f2394286a.zip |
Move AST tests into their own test directory; NFC.
This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory.
llvm-svn: 348017
Diffstat (limited to 'clang/test/Misc/ast-print-objectivec.m')
-rw-r--r-- | clang/test/Misc/ast-print-objectivec.m | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/clang/test/Misc/ast-print-objectivec.m b/clang/test/Misc/ast-print-objectivec.m deleted file mode 100644 index 05a0a5d4aa7..00000000000 --- a/clang/test/Misc/ast-print-objectivec.m +++ /dev/null @@ -1,62 +0,0 @@ -// RUN: %clang_cc1 -ast-print %s -o - | FileCheck %s - -@interface NSObject @end - -@protocol P -- (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); -@end - -@interface I : NSObject <P> -- (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); -@end - -@interface I(CAT) -- (void)MethCAT __attribute__((availability(macosx,introduced=10_1_0,deprecated=10_2))); -@end - -@implementation I -- (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} -- (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} - -- (void)methodWithArg:(int)x andAnotherOne:(int)y { } -@end - -// CHECK: @protocol P -// CHECK: - (void)MethP __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))); -// CHECK: @end - -// CHECK: @interface I : NSObject<P> -// CHECK: - (void)MethI __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))); -// CHECK: @end - -// CHECK: @interface I(CAT) -// CHECK: - (void)MethCAT __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))); -// CHECK: @end - -// CHECK: @implementation I -// CHECK: - (void)MethP __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))) { -// CHECK: } - -// CHECK: - (void)MethI __attribute__((availability(macos, introduced=10.1.0, deprecated=10.2))) { -// CHECK: } - -// CHECK: - (void)methodWithArg:(int)x andAnotherOne:(int)y { -// CHECK: } - -// CHECK: @end - -@class C1; -struct __attribute__((objc_bridge_related(C1,,))) S1; - -// CHECK: @class C1; -// CHECK: struct __attribute__((objc_bridge_related(C1, , ))) S1; - -@interface ImplicitPropertyWithSetterOnly - -- (void)setX:(int)x; - -@end - -void printImplicitPropertyWithSetterOnly(ImplicitPropertyWithSetterOnly *x) { - x.x = 313; // CHECK: x.x = 313; -} |