================
@@ -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();
----------------
Prabhuk wrote:

I had introduced isOSWindowsOrUEFI upstream for cases like these. But just 
landed a change to drop `Triple::isOSWindowsOrUEFI()` upstream based on review 
feedback. It's not there anymore. 

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

Reply via email to