The clang-tidy plugin is build with the system C++ Standard libary. This
has some issues:
- old versions of Clang do not work with modern libstdc++. This happened in D151814 where Clang 15 failed with libstdc++13.
- not all users have a C++20 capable system libraries. This can happen on Linux distributions. Updating libstdc++ might be quite a hassle for users.
To avoid these issues lower the requirements of the Standard library
with LLVM's general C++ version requirement of C++17.
Note this transition has been there for multiple weeks so I expect ToT clang users to have a clang 17 that works.