[PATCH] D94188: [OpenCL] Documentation for experimental C++ libraries support

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 10:11:48 PST 2021


Anastasia marked 6 inline comments as done.
Anastasia added inline comments.


================
Comment at: clang/docs/OpenCLSupport.rst:134
+  #pragma OPENCL EXTENSION __cl_clang_variadic_functions : enable
+  #include "type_traits"
+  #pragma OPENCL EXTENSION __cl_clang_function_pointers : disable
----------------
mantognini wrote:
> I'd use < and > instead of ". It should work too, right? It would be closer to standard C++ usage.
Yes it does work. I was only thinking to use " to highlight that it is not standard in OpenCL but it doesn't matter too much. I guess it makes sense to align with C++.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94188/new/

https://reviews.llvm.org/D94188



More information about the cfe-commits mailing list