mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
fix IWYU on FreeBSD
This commit is contained in:
parent
ad6ea1691e
commit
ce2d1c4e83
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ if set -q c_files[1]
|
||||||
# expect those messages to be written to stdout.
|
# expect those messages to be written to stdout.
|
||||||
for c_file in $c_files
|
for c_file in $c_files
|
||||||
switch $kernel_name
|
switch $kernel_name
|
||||||
case Darwin
|
case Darwin FreeBSD
|
||||||
include-what-you-use -Xiwyu --no_default_mappings -Xiwyu \
|
include-what-you-use -Xiwyu --no_default_mappings -Xiwyu \
|
||||||
--mapping_file=build_tools/iwyu.osx.imp --std=c++11 \
|
--mapping_file=build_tools/iwyu.osx.imp --std=c++11 \
|
||||||
$cppcheck_args $c_file 2>&1
|
$cppcheck_args $c_file 2>&1
|
||||||
|
@ -89,7 +89,7 @@ if set -q c_files[1]
|
||||||
include-what-you-use -Xiwyu --mapping_file=build_tools/iwyu.linux.imp \
|
include-what-you-use -Xiwyu --mapping_file=build_tools/iwyu.linux.imp \
|
||||||
$cppcheck_args $c_file 2>&1
|
$cppcheck_args $c_file 2>&1
|
||||||
case '*' # hope for the best
|
case '*' # hope for the best
|
||||||
include-what-you-use $cppcheck_args $c_file 2>&1
|
include-what-you-use --std=c++11 $cppcheck_args $c_file 2>&1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue