push
github
cmake: fix AppleClang detection CMake 3.0 and above recognize that Apple Clang is a different compiler than upstream Clang. CMake 4.0 prefers to set the `CMAKE_<LANG>_COMPILER_ID` variable to AppleClang instead of Clang. See [1] for details. This patch adds the corresponding check to set `CMAKE_COMPILER_IS_CLANG` for the Apple Clang too. [1]: https://cmake.org/cmake/help/v4.0/policy/CMP0025.html NO_DOC=build NO_TEST=build NO_CHANGELOG=build (cherry picked from commit 526bc5a12)
70073 of 123901 branches covered (56.56%)
103097 of 117800 relevant lines covered (87.52%)
2144246.0 hits per line