[clang] [HLSL] Handle incomplete array types (PR #133508)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 31 14:33:57 PDT 2025


================
@@ -3249,33 +3249,42 @@ void SemaHLSL::processExplicitBindingsOnDecl(VarDecl *VD) {
     }
   }
 }
+namespace {
+class InitListTransformer {
+  Sema &S;
+  ASTContext &Ctx;
+  QualType InitTy;
+  QualType *DstIt = nullptr;
+  Expr **ArgIt = nullptr;
+  bool Wrap;
----------------
spall wrote:

Maybe add a comment explaining what wrap means, even though its explained below.

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


More information about the cfe-commits mailing list