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

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 12 20:50:58 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:

The tags on that commit show that it wasn't in 20.x, only in 21.x.

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


More information about the cfe-commits mailing list