[PATCH] D93942: [OpenCL] Improve online documentation.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 07:04:15 PST 2021


Anastasia added inline comments.


================
Comment at: clang/docs/OpenCLSupport.rst:69
++==============================+==============================================================+======================+===========================================================================+
+| Command line interface       | New value for `-cl-std` flag                                 | :good:`done`         | https://reviews.llvm.org/D88300                                           |
++------------------------------+--------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
----------------
mantognini wrote:
> Double backticks?
Just to make sure I understand you, do you suggest it for ``-cl-std``?


================
Comment at: clang/docs/UsersManual.rst:2877
+
+Alternatively the internal header `opencl-c.h` containing the declarations
+can be included manually using ``-include`` or ``-I`` followed by the path
----------------
mantognini wrote:
> Do you also need to use double back-ticks here? I don't remember.
I think we don't use it for file names but mainly code like constructs. But I think it is not very consistent though.


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

https://reviews.llvm.org/D93942



More information about the cfe-commits mailing list