================
@@ -475,7 +476,7 @@ void 
HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
   onCompletion(Decl, [this](CXXRecordDecl *Decl) {
     setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, /*IsROV=*/false,
                     /*RawBuffer=*/false, /*HasCounter=*/false)
-        .addArraySubscriptOperators()
+        .addArraySubscriptOperators(ResourceDimension::Unknown)
----------------
hekota wrote:

Could you please make `ResourceDimension::Unknown` the default value of the 
`Dim` argument and we can avoid the edits here?

https://github.com/llvm/llvm-project/pull/186110
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to