[clang] Implement `ByteAddressBuffer` Load/Store methods (PR #176058)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 14:27:06 PST 2026


================
@@ -480,6 +480,7 @@ void HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
   onCompletion(Decl, [this](CXXRecordDecl *Decl) {
     setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, /*IsROV=*/false,
                     /*RawBuffer=*/true, /*HasCounter=*/false)
+        .addByteAddressBufferLoadMethods()
----------------
spall wrote:

do you also want to call 'addByteAddressBufferStoreMethods' here?

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


More information about the cfe-commits mailing list