================ @@ -91,6 +94,18 @@ struct BuiltinTypeDeclBuilder { HLSLNamespace->addDecl(Record); } + CXXRecordDecl *finalizeForwardDeclaration() { + // Force the QualType to be generated for the record declaration. In most ---------------- joaosaffran wrote:
There are some existing tests that failed and motivated this fix: ``` Clang :: AST/HLSL/ByteAddressBuffer-AST.hlsl Clang :: AST/HLSL/OutArgExpr.hlsl Clang :: AST/HLSL/pch.hlsl Clang :: AST/HLSL/pch_hlsl_buffer.hlsl Clang :: AST/HLSL/pch_with_buf.hlsl Clang :: CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl ``` https://github.com/llvm/llvm-project/pull/116699 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits