[PATCH] D96616: [OpenCL][Docs] Change decription for the OpenCL standard headers

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 19 05:03:50 PST 2021


Anastasia added inline comments.


================
Comment at: clang/docs/UsersManual.rst:3016
 
    .. code-block:: console
 
----------------
svenvh wrote:
> Anastasia wrote:
> > svenvh wrote:
> > > I wonder if we need to keep this example?  You're not referring to it from the text and it's not demonstrating any special flags anymore.
> > it's still demonstrating the use of default clang driver invocation i.e. there are no flags needed to compile the code that uses BIFs.
> Okay, if you want to make that explicit then I would suggest to add a line like:
> ```The following example shows how an OpenCL program that calls various standard builtin functions can be compiled without the need for any explicit includes or compiler flags.```
Ok, good idea. I will add this in my final commit.


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

https://reviews.llvm.org/D96616



More information about the cfe-commits mailing list