[clang-tools-extra] [clangd][HLSL] Prevent RootSignature internal identifier leak on hover (PR #214955)

Aleksandr Platonov via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 21 05:12:16 PDT 2026


================

----------------
ArcsinX wrote:

It looks like this patch can be single-line
```diff
+ if (!AST.getLangOpts().HLSL || !llvm::isa<RootSignatureAttr>(A)) {
- {
```
 
And add comment about why pretty-print is not acceptable here

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


More information about the cfe-commits mailing list