================ @@ -14183,6 +14183,13 @@ void Sema::ActOnUninitializedDecl(Decl *RealDecl) { if (getLangOpts().OpenCL && Var->getType().getAddressSpace() == LangAS::opencl_local) return; + + // In HLSL, objects in the hlsl_constat address space are initialized + // externaly, so don't synthesize an implicit initializer. ---------------- bogner wrote:
Couple of typos ```suggestion // In HLSL, objects in the hlsl_constant address space are initialized // externally, so don't synthesize an implicit initializer. ``` https://github.com/llvm/llvm-project/pull/124840 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits