[clang] [HLSL] Permit template-less HLSL builtin types with default args (PR #216834)

Gregory Roth via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 11:01:12 PDT 2026


================
@@ -750,8 +750,7 @@ void HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
 
   // RWTexture2DArray — same as RWTexture2D but IsArray=true
   Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "RWTexture2DArray")
-             .addSimpleTemplateParams({"element_type"}, {Float4Ty},
-                                      TypedBufferConcept)
----------------
pow2clk wrote:

Thanks! I'll do that

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


More information about the cfe-commits mailing list