[llvm] [clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: 徐持恒 Xu Chiheng (xu-chiheng) Changes Remove some uses of macro __CYGWIN__ . Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h. In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp define

[llvm] [clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: 徐持恒 Xu Chiheng (xu-chiheng) Changes Remove some uses of macro __CYGWIN__ . Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h. In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp d

[llvm] [clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread 徐持恒 Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74936 Remove some uses of macro __CYGWIN__ . Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h. In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp define both.