diff options
author | Andy Kaylor <akaylor@nvidia.com> | 2025-09-03 12:06:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-03 12:06:56 -0700 |
commit | 88c38258891fe7572b1d57b42dea059d422ced6f (patch) | |
tree | 855bc471176b538f06326d35519dfbeee20357d7 /clang/lib/CIR/CodeGen/CIRGenFunction.cpp | |
parent | a862225813c251c28b085603b7d32d4b111dbc57 (diff) | |
download | llvm-88c38258891fe7572b1d57b42dea059d422ced6f.zip llvm-88c38258891fe7572b1d57b42dea059d422ced6f.tar.gz llvm-88c38258891fe7572b1d57b42dea059d422ced6f.tar.bz2 |
[CIR] Add support for constructors with VTT parameters (#156521)
This adds the support for implicit VTT arguments in constructors.
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenFunction.cpp')
-rw-r--r-- | clang/lib/CIR/CodeGen/CIRGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp index deabb94..fb782a09 100644 --- a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp @@ -748,7 +748,7 @@ clang::QualType CIRGenFunction::buildFunctionArgList(clang::GlobalDecl gd, args.push_back(param); if (md && (isa<CXXConstructorDecl>(md) || isa<CXXDestructorDecl>(md))) - assert(!cir::MissingFeatures::cxxabiStructorImplicitParam()); + cgm.getCXXABI().addImplicitStructorParams(*this, retTy, args); return retTy; } |