[libc++] Improves clang-tidy configuration.
authorMark de Wever <koraq@xs4all.nl>
Sat, 25 Feb 2023 14:24:58 +0000 (15:24 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sun, 26 Feb 2023 11:19:50 +0000 (12:19 +0100)
commit664f345cd53d1f624d94f9889a1c9fff803e3391
tree1180c879b86c683cd53182a090aa242830cb62ac
parentcb2d04d41e47e65812434f775215247bfe19b3dd
[libc++] Improves clang-tidy configuration.

The current clang-tidy settings work in the CI but not on all systems
outside the CI.
- The range 16...17 doesn't work when only clang-17 is installed.
- Running CMake a second time will fail.

This addresses these issues.

Reviewed By: philnik, #libc

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