[clang] [clang-tools-extra] [clangd][HLSL] Fix register attribute source range for hover inside arguments (PR #212881)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 10:04:16 PDT 2026


================
@@ -5311,6 +5311,30 @@ TEST(Hover, FunctionParameters) {
   }
 }
 
+TEST(Hover, HLSLRegisterAttributeRange) {
+  Annotations T(R"cpp(
----------------
inbelic wrote:

Should the following supported? If it isn't, is this something we should add?
```suggestion
  Annotations T(R"hlsl(
```

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


More information about the cfe-commits mailing list