5 # Which paths to ignore.
6 paths='src/solaris src/mingw'
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
30 compiledb make all extra
33 echo >&2 "Running clang-tidy without $paths"
35 # This is fine, our paths are relative and do not contain any whitespace.
36 # shellcheck disable=SC2086
40 -exec clang-tidy --header-filter='.*' '{}' +