5 # Which paths to ignore.
6 paths='src/solaris src/mingw src/gcrypt'
10 paths="$paths src/bsd"
14 paths="$paths src/linux src/bsd/tunemu.c"
18 paths="$paths src/linux src/vde_device.c"
25 for path in $paths; do
26 path_filters=" $path_filters ! ( -path $path -prune ) "
29 if ! [ -f compile_commands.json ]; then
31 compiledb make all extra
34 echo >&2 "Running clang-tidy without $paths"
36 # This is fine, our paths are relative and do not contain any whitespace.
37 # shellcheck disable=SC2086
41 -exec clang-tidy --header-filter='.*' '{}' +