[PATCH] D17861: [OpenCL] Accept __attribute__((nosvm))

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 04:00:32 PDT 2016


Anastasia accepted this revision.
Anastasia added a comment.

LGTM, except for one tiny comment that can be addressed before committing.


================
Comment at: test/SemaOpenCL/nosvm.cl:11
@@ +10,3 @@
+// expected-warning at -4 {{'nosvm' attribute is deprecated and ignored in OpenCL version 2.0}}
+#endif
+__attribute__((nosvm)) void g(); // expected-warning {{'nosvm' attribute only applies to variables}}
----------------
Separate with an empty line here.


http://reviews.llvm.org/D17861





More information about the cfe-commits mailing list