diff --git a/clang/docs/OpenCLSupport.rst b/clang/docs/OpenCLSupport.rst index 5bde2c332022..fa719c8bdf9f 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/include test.cl + $ clang -I/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