lix-clang-tidy: Require Clang >= 16

Nixpkgs Clang on macOS is 16, not 17.

nix-repl> packages.aarch64-darwin.nix-clangStdenv.stdenv.cc
«derivation /nix/store/ycych9qpim4r42hjkznl8f6zmj0jns45-clang-wrapper-16.0.6.drv»

nix-repl> packages.x86_64-linux.nix-clangStdenv.stdenv.cc
«derivation /nix/store/y48dhgidb2vs230r9ayim14q61xwcdg9-clang-wrapper-17.0.6.drv»

Change-Id: Ib267b8882f80eef4db665fb9df50ae285ea68b2b
This commit is contained in:
Rebecca Turner 2024-08-23 12:17:01 -07:00
parent 87fd6e0095
commit 9845637359
Signed by: rbt
SSH key fingerprint: SHA256:SiNaEWabvotTldoNb5jIKqjJ3RnpS4aRXA4KLAdW5vs

View file

@ -3,7 +3,7 @@ project('lix-clang-tidy', ['cpp', 'c'],
default_options : ['warning_level=3', 'cpp_std=c++20']
)
llvm = dependency('Clang', version: '>= 17', modules: ['libclang'])
llvm = dependency('Clang', version: '>= 16', modules: ['libclang'])
sources = files(
'CharPtrCast.cc',
'FixIncludes.cc',