[PATCH] D15914: [OpenCL] Pipe builtin functions

Ronan Keryell via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 11:52:17 PST 2016


keryell added a subscriber: keryell.

================
Comment at: include/clang/Basic/Builtins.h:39
@@ -38,2 +38,3 @@
   MS_LANG = 0x10,  // builtin requires MS mode.
+  OCLC_LANG = 0x20,// builtin for OpenCL C only.
   ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG, // builtin for all languages.
----------------
Yes, it may be useful to differentiate OpenCL C from the on-going OpenCL C++


http://reviews.llvm.org/D15914





More information about the cfe-commits mailing list