[clang] [CIR] Upstream support for emitting constructors (PR #143639)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 10:11:26 PDT 2025
================
@@ -72,6 +82,72 @@ void CIRGenItaniumCXXABI::emitInstanceFunctionProlog(SourceLocation loc,
}
}
+void CIRGenItaniumCXXABI::addImplicitStructorParams(CIRGenFunction &cgf,
+ QualType &retTY,
+ FunctionArgList ¶ms) {
+ const auto *md = cast<CXXMethodDecl>(cgf.curGD.getDecl());
+ assert(isa<CXXConstructorDecl>(md) || isa<CXXDestructorDecl>(md));
+
+ // Check if we need a VTT parameter as well.
----------------
andykaylor wrote:
I believe it means "in addition to the params that were passed in. I should probably just remove this function until we're ready to implement the VTT part.
https://github.com/llvm/llvm-project/pull/143639
More information about the cfe-commits
mailing list