[libc++] Use clang-tidy version that matches the compiler we use in the CI (#85305)

This works around ODR violations in the clang-tidy plugin we use to
perform the modules tests.

Fixes #85242
This commit is contained in:
Louis Dionne 2024-03-16 18:32:44 -04:00 committed by GitHub
parent 0c1dcd6752
commit 3a06861272
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@
set(LLVM_DIR_SAVE ${LLVM_DIR})
set(Clang_DIR_SAVE ${Clang_DIR})
find_package(Clang 18)
find_package(Clang 18.1)
if (NOT Clang_FOUND)
find_package(Clang 17)
endif()