[clang] 7c541a1 - [OpenCL][Docs] Added a label for C++ libs section and example link
Anastasia Stulova via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 1 05:55:51 PDT 2021
Author: Anastasia Stulova
Date: 2021-04-01T13:55:23+01:00
New Revision: 7c541a195f651aa8d6aa270db83932a6ac7fac78
URL: https://github.com/llvm/llvm-project/commit/7c541a195f651aa8d6aa270db83932a6ac7fac78
DIFF: https://github.com/llvm/llvm-project/commit/7c541a195f651aa8d6aa270db83932a6ac7fac78.diff
LOG: [OpenCL][Docs] Added a label for C++ libs section and example link
Added:
Modified:
clang/docs/OpenCLSupport.rst
Removed:
################################################################################
diff --git a/clang/docs/OpenCLSupport.rst b/clang/docs/OpenCLSupport.rst
index 8af579a082a9..7ecc4f2bed0a 100644
--- a/clang/docs/OpenCLSupport.rst
+++ b/clang/docs/OpenCLSupport.rst
@@ -398,6 +398,8 @@ Feel free to contact us on `cfe-dev
<https://lists.llvm.org/mailman/listinfo/cfe-dev>`_ or via `Bugzilla
<https://bugs.llvm.org/>`__.
+.. _opencl_experimenal_cxxlibs:
+
C++ libraries for OpenCL
------------------------
@@ -441,4 +443,5 @@ The possible clang invocation to compile the example is as follows:
$ clang -cl-std=clc++ -I<path to libcxx checkout or installation>/include test.cl
Note that `type_traits` is a header only library and therefore no extra
-linking step against the standard libraries is required.
+linking step against the standard libraries is required. See full example
+in `Compiler Explorer <https://godbolt.org/z/5WbnTfb65>`_.
More information about the cfe-commits
mailing list