[PATCH] D99488: [SYCL][Doc] Add design document for SYCL mode
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 29 06:25:31 PDT 2021
bader added a comment.
In D99488#2725435 <https://reviews.llvm.org/D99488#2725435>, @Anastasia wrote:
> If I build docs now I get the following output:
>
> llvm-project/build-doc/tools/clang/docs/SYCLSupport.rst:102: WARNING: Error in "code-block" directive:
> 1 argument(s) required, 0 supplied.
>
> .. code-block::
>
> TODO: add support for `__attribute__((opencl_global_host))` and
> `__attribute__((opencl_global_device))`.
>
> Is this something already being looked at?
It looks like it can be fixed by adding language parameter:
> .. code-block:: c++
Unfortunately, I can't verify this fix locally. I see other types of warnings, which are treated as errors.
tools/clang/docs/ClangCommandLineReference.rst:22:Duplicate explicit target name: "cmdoption-clang--prefix".
Does anyone know how to avoid this issue?
If no, @Anastasia, could you confirm that adding `c++` parameter fixes the warning, please? If it does, I can commit this fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99488/new/
https://reviews.llvm.org/D99488
More information about the cfe-commits
mailing list