[clang] f372ff1 - [NFC] (test commit) Changed example invocation of C++ for OpenCL

Ole Strohm via cfe-commits cfe-commits at lists.llvm.org
Fri May 7 04:32:14 PDT 2021


Author: Ole Strohm
Date: 2021-05-07T12:31:37+01:00
New Revision: f372ff17f74f99f5e1c021a9c919b33c4caf38d9

URL: https://github.com/llvm/llvm-project/commit/f372ff17f74f99f5e1c021a9c919b33c4caf38d9
DIFF: https://github.com/llvm/llvm-project/commit/f372ff17f74f99f5e1c021a9c919b33c4caf38d9.diff

LOG: [NFC] (test commit) Changed example invocation of C++ for OpenCL

Added: 
    

Modified: 
    clang/docs/OpenCLSupport.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/OpenCLSupport.rst b/clang/docs/OpenCLSupport.rst
index 5bde2c332022f..fa719c8bdf9f5 100644
--- a/clang/docs/OpenCLSupport.rst
+++ b/clang/docs/OpenCLSupport.rst
@@ -432,7 +432,7 @@ The possible clang invocation to compile the example is as follows:
 
    .. code-block:: console
 
-     $ clang -cl-std=clc++  -I<path to libcxx checkout or installation>/include test.cl
+     $ clang -I<path to libcxx checkout or installation>/include test.clcpp
 
 Note that `type_traits` is a header only library and therefore no extra
 linking step against the standard libraries is required. See full example


        


More information about the cfe-commits mailing list