================ @@ -937,8 +937,28 @@ CIRGenCallee CIRGenFunction::emitCallee(const clang::Expr *e) { return emitDirectCallee(cgm, funcDecl); } - cgm.errorNYI(e->getSourceRange(), "Unsupported callee kind"); - return {}; + assert(!cir::MissingFeatures::opCallPseudoDtor()); ---------------- andykaylor wrote:
Please add a check for `dyn_cast<MemberExpr>(e)` and add an `errorNYI` for that case. Also, the two inner `if` statements above fall through to here, but I'm not convinced we have an indirect call in those cases. Maybe add NYI handlers there too? https://github.com/llvm/llvm-project/pull/139748 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits