clang-tidy: Update HeaderFilterRegex to only scan files in subdir "(ns*)|(NS*)"
This commit is contained in:
@@ -45,5 +45,5 @@ Checks: >
|
||||
readability-uppercase-literal-suffix,
|
||||
|
||||
FormatStyle: "file"
|
||||
HeaderFilterRegex: "(contrib|examples|src|scratch|utils)/*/.*h"
|
||||
HeaderFilterRegex: ".*(ns|NS).*/(contrib|examples|src|scratch|utils)/*/.*h"
|
||||
UseColor: true
|
||||
|
||||
@@ -79,7 +79,7 @@ clang-tidy-diff:
|
||||
- git fetch upstream master
|
||||
- git diff -U0 upstream/master |
|
||||
clang-tidy-diff-14.py -path cmake-cache/ -p1 -quiet -use-color
|
||||
-iregex "(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|c|h|hpp)"
|
||||
-iregex ".*(ns|NS).*\/(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|c|h|hpp)"
|
||||
1> $CLANG_TIDY_OUTPUT
|
||||
2> /dev/null
|
||||
- if egrep -A 3 "file not found \[clang-diagnostic-error\]" $CLANG_TIDY_OUTPUT ; then
|
||||
|
||||
Reference in New Issue
Block a user