================ @@ -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. ---------------- erichkeane wrote:
as well as what? Seems this function is a noop besides an assert... We probably should find some use of `md` here else this is going to warn. https://github.com/llvm/llvm-project/pull/143639 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits