[libc++] Look for Clang 17 when compiling clang-tidy checks
authorNikolas Klauser <nikolasklauser@berlin.de>
Tue, 31 Jan 2023 12:03:57 +0000 (13:03 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Wed, 1 Feb 2023 22:05:17 +0000 (23:05 +0100)
commit42701cac812808682f9139d7832b1c6f74cef152
tree5714ec08d8654c7db1135c8e1f9ad0e8b5fb48ce
parented2b70ea6ab7675ae61be0297ee15b08f4cc3a10
[libc++] Look for Clang 17 when compiling clang-tidy checks

This allows compiling the clang-tidy checks when you only have ToT clang

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D142973
libcxx/test/tools/clang_tidy_checks/CMakeLists.txt