[clang] [HLSL] Add ByteAddressBuffer, RWByteAddressBuffer and RasterizerOrderedByteAddressBuffer definitions to HLSLExternalSemaSource #113477 (PR #116699)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 11:46:57 PST 2024


================
@@ -91,6 +94,18 @@ struct BuiltinTypeDeclBuilder {
       HLSLNamespace->addDecl(Record);
   }
 
+  CXXRecordDecl *finalizeForwardDeclaration() {
+    // Force the QualType to be generated for the record declaration. In most
----------------
inbelic wrote:

Which of the added testcases would fail without this? Otherwise, could we add a testcase that would fail without this.

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


More information about the cfe-commits mailing list