[clang] [Clang][Cygwin] Cygwin x86_64 should accept __stdcall (PR #158385)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 12 17:04:28 PDT 2025


================
@@ -983,6 +983,7 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_64TargetInfo : public X86_64TargetInfo {
       : X86_64TargetInfo(Triple, Opts) {
     this->WCharType = TargetInfo::UnsignedShort;
     this->WIntType = TargetInfo::UnsignedInt;
+    this->UseMicrosoftManglingForC = true;
----------------
jeremyd2019 wrote:

Are you sure this and `CCK_MicrosoftWin64` are correct?  I thought these were not involved on MinGW either?

https://github.com/llvm/llvm-project/pull/158385


More information about the cfe-commits mailing list