[PATCH] D19003: Set C99 as default C Standard for PS4 target
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 11:59:07 PDT 2016
probinson added a subscriber: probinson.
================
Comment at: test/Sema/attr-deprecated.c:124
@@ -123,1 +123,3 @@
+// This note requires C11.
+#if __STDC_VERSION__ > 199901L
----------------
Just the note? Or the warning?
================
Comment at: test/Sema/nullability.c:30
@@ -25,1 +29,3 @@
// Conflicting nullability specifiers via a typedef are not.
+// These errors require C11.
+#if __STDC_VERSION__ > 199901L
----------------
*Some* of these errors require C11.
================
Comment at: test/Sema/nullability.c:81
@@ -71,1 +80,3 @@
typedef int * _Nonnull ambiguous_int_ptr;
+// These errors require C11.
+#if __STDC_VERSION__ > 199901L
----------------
Not seeing any errors here?
================
Comment at: test/SemaObjC/objcbridge-attribute-arc.m:26
@@ -25,2 +25,3 @@
-typedef union __CFUColor __attribute__((objc_bridge(NSUColor))) * CFUColorRef; // expected-error {{parameter of 'objc_bridge' attribute must be 'id' when used on a typedef}}
+// This note requires C11.
+#if __STDC_VERSION__ > 199901L
----------------
This *error* requires C11.
http://reviews.llvm.org/D19003
More information about the cfe-commits
mailing list