[clang] [clang][docs] Use doc links to HLSL/ResourceTypes in AttrDocs.td (PR #227407)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 10:57:21 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Nico Weber (nico)

<details>
<summary>Changes</summary>

#<!-- -->222504 made the docs build warn about absolute links to pages of the same Sphinx project, and the docs build turns warnings into errors. The HLSL resource attribute docs added in #<!-- -->213346 linked to https://clang.llvm.org/docs/HLSL/ResourceTypes.html, which broke the clang docs build (docs-clang-html, docs-clang-man). Use the {doc} role instead, like the rest of AttrDocs.td.

---
Full diff: https://github.com/llvm/llvm-project/pull/227407.diff


1 Files Affected:

- (modified) clang/include/clang/Basic/AttrDocs.td (+8-8) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/227407


More information about the cfe-commits mailing list