From 984563735934f63c972d0539b4ea57e87389d2a0 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Fri, 23 Aug 2024 12:17:01 -0700 Subject: [PATCH] lix-clang-tidy: Require Clang >= 16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- subprojects/lix-clang-tidy/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/lix-clang-tidy/meson.build b/subprojects/lix-clang-tidy/meson.build index 43648a1c8..d279b437b 100644 --- a/subprojects/lix-clang-tidy/meson.build +++ b/subprojects/lix-clang-tidy/meson.build @@ -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',