[llvm-branch-commits] [clang] [HLSL] Introduce address space `hlsl_constant(2)` for constant buffer declarations (PR #123411)

Tex Riddell via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 17 16:14:05 PST 2025


================
@@ -39,7 +39,7 @@ typedef float EmptyArrayTypedef[10][0];
 // CHECK: HLSLResourceClassAttr {{.*}} Implicit CBuffer
 // CHECK: HLSLResourceAttr {{.*}} Implicit CBuffer
 cbuffer CB {
-  // CHECK: VarDecl {{.*}} col:9 used a1 'float'
+  // CHECK: VarDecl {{.*}} col:9 used a1 'hlsl_constant float'
----------------
tex3d wrote:

Will this also impact type names in diagnostics?

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


More information about the llvm-branch-commits mailing list