[all-commits] [llvm/llvm-project] b01cdd: [Clang][Cygwin] Cygwin x86_64 should accept __stdc...

Tomohiro Kashiwada via All-commits all-commits at lists.llvm.org
Sun Sep 14 10:10:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b01cddee0e69bd283a0f1830f24fae326371f1de
      https://github.com/llvm/llvm-project/commit/b01cddee0e69bd283a0f1830f24fae326371f1de
  Author: Tomohiro Kashiwada <kikairoya at gmail.com>
  Date:   2025-09-14 (Sun, 14 Sep 2025)

  Changed paths:
    M clang/lib/Basic/Targets/X86.h
    R clang/test/CodeGen/X86/cygwin-varargs.c
    M clang/test/CodeGen/calling-conv-ignored.c
    M clang/test/CodeGen/ms_abi.c
    M clang/test/CodeGen/sysv_abi.c
    M clang/test/DebugInfo/Generic/cc.c
    M clang/test/Parser/x64-windows-calling-convention-handling.c
    M clang/test/Sema/MicrosoftCompatibility-x64.c

  Log Message:
  -----------
  [Clang][Cygwin] Cygwin x86_64 should accept __stdcall (#158385)

Cygwin should support calling convention attributes `__cdecl`,
`__stdcall`, `__thiscall`, and `__fastcall`, even though they have no
effect in x86_64, as done in MinGW.

Originally reported in
https://cygwin.com/pipermail/cygwin/2025-September/258782.html

---------

Co-authored-by: Jeremy Drake <github at jdrake.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list