================ @@ -5318,3 +5319,13 @@ OMPIteratorExpr *OMPIteratorExpr::CreateEmpty(const ASTContext &Context, alignof(OMPIteratorExpr)); return new (Mem) OMPIteratorExpr(EmptyShell(), NumIterators); } + +HLSLOutArgExpr *HLSLOutArgExpr::Create(const ASTContext &C, QualType Ty, + Expr *Base, bool IsInOut, Expr *WB, + OpaqueValueExpr *OpV) { + return new (C) HLSLOutArgExpr(Ty, Base, WB, OpV, IsInOut); ---------------- damyanp wrote:
For my education, how do you decide whether to use `C.Allocate` versus just `C`? https://github.com/llvm/llvm-project/pull/101083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits