diff options
author | Mandeep Singh Grang <mgrang@codeaurora.org> | 2017-08-24 22:40:32 +0000 |
---|---|---|
committer | Mandeep Singh Grang <mgrang@codeaurora.org> | 2017-08-24 22:40:32 +0000 |
commit | 01cbd18ee91415a2caaeaf613f7d623bba7da49d (patch) | |
tree | 6b9d737bddf0fd9e9b39e574be549c67191eeb70 /clang/test/Rewriter | |
parent | a38bbe30eb29852494e81ff308722eef51f59086 (diff) | |
download | llvm-01cbd18ee91415a2caaeaf613f7d623bba7da49d.zip llvm-01cbd18ee91415a2caaeaf613f7d623bba7da49d.tar.gz llvm-01cbd18ee91415a2caaeaf613f7d623bba7da49d.tar.bz2 |
[clang] Remove unit test which uses reverse-iterate flag
Summary: This patch is in response to https://reviews.llvm.org/D35043 which removed -reverse-iterate flag.
Reviewers: dblaikie, mehdi_amini
Reviewed By: dblaikie
Subscribers: cfe-commits, llvm-commits
Differential Revision: https://reviews.llvm.org/D36386
llvm-svn: 311720
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/objc-modern-metadata-visibility2.mm | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/clang/test/Rewriter/objc-modern-metadata-visibility2.mm b/clang/test/Rewriter/objc-modern-metadata-visibility2.mm deleted file mode 100644 index 4e64ac4..0000000 --- a/clang/test/Rewriter/objc-modern-metadata-visibility2.mm +++ /dev/null @@ -1,45 +0,0 @@ -// REQUIRES: abi-breaking-checks -// NOTE: This test has been split from objc-modern-metadata-visibility.mm in -// order to test with -reverse-iterate as this flag is only present with -// ABI_BREAKING_CHECKS. - -// RUN: %clang_cc1 -E %s -o %t.mm -mllvm -reverse-iterate -// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -mllvm -reverse-iterate -o - | FileCheck %s -// rdar://11144048 - -@class NSString; - -@interface NSObject { - Class isa; -} -@end - -@interface Sub : NSObject { - int subIvar; - NSString *nsstring; -@private - id PrivateIvar; -} -@end - -@implementation Sub -- (id) MyNSString { return subIvar ? PrivateIvar : nsstring; } -@end - -@interface NSString @end -@implementation NSString @end - -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_IVAR_$_Sub$subIvar; -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long OBJC_IVAR_$_Sub$PrivateIvar; -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_IVAR_$_Sub$nsstring; -// CHECK: #pragma warning(disable:4273) -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int OBJC_IVAR_$_Sub$subIvar -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int OBJC_IVAR_$_Sub$nsstring -// CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long int OBJC_IVAR_$_Sub$PrivateIvar -// CHECK: extern "C" __declspec(dllimport) struct _class_t OBJC_METACLASS_$_NSObject; -// CHECK: extern "C" __declspec(dllexport) struct _class_t OBJC_METACLASS_$_Sub -// CHECK: extern "C" __declspec(dllimport) struct _class_t OBJC_CLASS_$_NSObject; -// CHECK: extern "C" __declspec(dllexport) struct _class_t OBJC_CLASS_$_Sub -// CHECK: extern "C" __declspec(dllexport) struct _class_t OBJC_CLASS_$_NSString; -// CHECK: extern "C" __declspec(dllexport) struct _class_t OBJC_METACLASS_$_NSString -// CHECK: extern "C" __declspec(dllexport) struct _class_t OBJC_CLASS_$_NSString |