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)
68907 of 122197 branches covered (56.39%)
101612 of 116245 relevant lines covered (87.41%)
1962058.33 hits per line