summaryrefslogtreecommitdiff
path: root/test/ARCMT
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-07-15 18:11:27 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-07-15 18:11:27 +0000
commit8b70028d42752bec785d67e595d2feffb3590b8d (patch)
tree9f61c2836bbfdf410520633725520dca4ffafce2 /test/ARCMT
parenta26d20c07a4d930d72b47004e5cd65ed56febd97 (diff)
[objcmt] Don't add an #import of Foundation unnecessarily, if the NS_ENUM macro is already defined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ARCMT')
-rw-r--r--test/ARCMT/objcmt-ns-macros.m.result3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ARCMT/objcmt-ns-macros.m.result b/test/ARCMT/objcmt-ns-macros.m.result
index bcc865ce0f..c4c40300ee 100644
--- a/test/ARCMT/objcmt-ns-macros.m.result
+++ b/test/ARCMT/objcmt-ns-macros.m.result
@@ -19,9 +19,6 @@ typedef unsigned long long uint64_t;
#define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type
#define DEPRECATED __attribute__((deprecated))
-#ifndef NS_ENUM
-#import <Foundation/Foundation.h>
-#endif
typedef NS_ENUM(NSInteger, wibble) {
blah,
blarg