summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2016-12-14 02:06:11 +0000
committerPaul Robinson <paul.robinson@sony.com>2016-12-14 02:06:11 +0000
commit41a2508e5979bbd5a3dad687f2e94bc0e38a7fa4 (patch)
tree0e9d456a9aa330563a1dd11f07954c27dca3e037 /clang/test
parentfd1184efb510860e4e319f72718ac05ffe335522 (diff)
downloadbcm5719-llvm-41a2508e5979bbd5a3dad687f2e94bc0e38a7fa4.tar.gz
bcm5719-llvm-41a2508e5979bbd5a3dad687f2e94bc0e38a7fa4.zip
[PS4] Undo dialect tweak for Objective-C.
In r267772, we had set the PS4's default dialect for both C and Objective-C to gnu99. Make that change only for C; we don't really support Objective-C/C++ so there's no point fiddling the dialect. llvm-svn: 289625
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaObjC/objcbridge-attribute-arc.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/test/SemaObjC/objcbridge-attribute-arc.m b/clang/test/SemaObjC/objcbridge-attribute-arc.m
index 26dbce09b81..3bcfdf48e79 100644
--- a/clang/test/SemaObjC/objcbridge-attribute-arc.m
+++ b/clang/test/SemaObjC/objcbridge-attribute-arc.m
@@ -23,10 +23,7 @@ typedef struct __CFSetRef * CFSetRef __attribute__((objc_bridge(NSSet))); // exp
typedef union __CFUColor __attribute__((objc_bridge(NSUColor))) * CFUColorRef; // expected-error {{parameter of 'objc_bridge' attribute must be 'id' when used on a typedef}}
-// This error requires C11.
-#if __STDC_VERSION__ > 199901L
-typedef union __CFUColor __attribute__((objc_bridge(NSUColor))) * CFUColorRef; // expected-error {{parameter of 'objc_bridge' attribute must be 'id' when used on a typedef}}
-#endif
+typedef union __CFUColor __attribute__((objc_bridge(NSUColor))) * CFUColorRef; // expected-error {{parameter of 'objc_bridge' attribute must be 'id' when used on a typedef}}
typedef union __CFUColor __attribute__((objc_bridge(NSUColor))) *CFUColor1Ref; // expected-error {{parameter of 'objc_bridge' attribute must be 'id' when used on a typedef}}
OpenPOWER on IntegriCloud