[PATCH] D27099: [OpenCL] Prohibit using reserve_id_t in program scope.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 07:26:29 PST 2016


Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.

LGTM! Thanks! Please, address the small nitpick before committing.



================
Comment at: lib/Sema/SemaDecl.cpp:5965
+
+    // OpenCL 1.2 spec, p6.9 r:
+    // The event type cannot be used with the __local, __constant and __global
----------------
 OpenCL 1.2 spec, p6.9 r ->  OpenCL v1.2 s6.9.r


https://reviews.llvm.org/D27099





More information about the cfe-commits mailing list