Most supported operating systems ship with clang-14 (or later), so bump the minimum to that and allow new code to drop workarounds for previous clang bugs.
For reference:
- https://packages.debian.org/bookworm/clang (
clang-14
) - https://packages.ubuntu.com/jammy/clang (
clang-14
) - CentOS-like 8/9 Stream: All Clang versions from 15 to 17
- FreeBSD 12/13: All Clang versions from 15 to 16
- OpenSuse Tumbleweed ships with https://software.opensuse.org/package/clang (
clang17
); No idea about OpenSuse Leap
On operating systems where the clang version is not shipped by default, the user would have to use GCC, or install clang in a different way. For example:
- https://packages.debian.org/bullseye/g++ (g++-10)
- https://packages.ubuntu.com/focal/g++-10
- https://apt.llvm.org/, or nix, or guix, or compile clang from source, …