================ @@ -581,8 +581,11 @@ CodeGenTypes::arrangeObjCMessageSendSignature(const ObjCMethodDecl *MD, } FunctionType::ExtInfo einfo; - bool IsWindows = getContext().getTargetInfo().getTriple().isOSWindows(); - einfo = einfo.withCallingConv(getCallingConventionForDecl(MD, IsWindows)); + bool IsTargetDefaultMSABI = + getContext().getTargetInfo().getTriple().isOSWindows() || + getContext().getTargetInfo().getTriple().isUEFI(); ---------------- efriedma-quic wrote:
We have Triple::isOSWindowsOrUEFI(), I think; should we use it here? https://github.com/llvm/llvm-project/pull/138935 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits