clang-tidy, ci: Replace ExtraArgs with ExtraArgsBefore

This commit is contained in:
Eduardo Almeida
2023-10-31 17:55:15 +00:00
parent ebe4fa8c70
commit 1393f606e0
2 changed files with 1 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ CheckOptions:
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
value: false
ExtraArgs:
ExtraArgsBefore:
- -Wno-unknown-warning-option
FormatStyle: "file"

View File

@@ -65,7 +65,6 @@ clang-tidy-16:
git diff -U0 upstream/$CI_DEFAULT_BRANCH |
clang-tidy-diff-16.py -path cmake-cache/ -p1 -quiet -use-color
-iregex "(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|c|h|hpp)"
-extra-arg=-Wno-unknown-warning-option
1> $CLANG_TIDY_OUTPUT
2> /dev/null ;
fi