[clang] [HLSL] Fix vector list initialization (PR #161421)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 13:37:33 PDT 2025


================
@@ -14,7 +14,7 @@ void entry() {
 // parameters to an initialization list
 // CHECK-LABEL: VarDecl {{.*}} used Vec2 'float2':'vector<float, 2>' cinit
 // CHECK-NEXT: CXXFunctionalCastExpr {{.*}} 'float2':'vector<float, 2>' functional cast to float2 <NoOp>
-// CHECK-NEXT: InitListExpr {{.*}} 'float2':'vector<float, 2>'
+// CHECK-NEXT: InitListExpr {{0x[0-9a-fA-F]+}} <col:{{[0-9]+}}, col:{{[0-9]+}}> 'float2':'vector<float, 2>'
----------------
hekota wrote:

Oh, ok :)

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


More information about the cfe-commits mailing list