[clang] [CIR] Upstream support for calling constructors (PR #143579)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 11:19:02 PDT 2025
================
@@ -76,6 +83,48 @@ static void appendParameterTypes(const CIRGenTypes &cgt,
cgt.getCGModule().errorNYI("appendParameterTypes: hasExtParameterInfos");
}
+const CIRGenFunctionInfo &
+CIRGenTypes::arrangeCXXStructorDeclaration(GlobalDecl gd) {
+ auto *md = cast<CXXMethodDecl>(gd.getDecl());
+
+ llvm::SmallVector<CanQualType, 16> argTypes;
+ argTypes.push_back(deriveThisType(md->getParent(), md));
+
+ bool passParams = true;
----------------
erichkeane wrote:
I see this is checked, but never set to false?
https://github.com/llvm/llvm-project/pull/143579
More information about the cfe-commits
mailing list