clang-tidy: Add UseColor setting

This commit is contained in:
Eduardo Almeida
2022-12-22 16:45:36 +00:00
parent 65484a69db
commit 6dedc58446
2 changed files with 2 additions and 1 deletions

View File

@@ -43,3 +43,4 @@ Checks: >
FormatStyle: "file"
HeaderFilterRegex: "(contrib|examples|src|scratch|utils)/*/.*h"
UseColor: true

View File

@@ -78,7 +78,7 @@ clang-tidy-diff:
- git remote add upstream https://gitlab.com/nsnam/ns-3-dev.git
- git fetch upstream master
- git diff -U0 upstream/master |
clang-tidy-diff-14.py -path cmake-cache/ -p1 -quiet
clang-tidy-diff-14.py -path cmake-cache/ -p1 -quiet -use-color
-iregex "(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|c|h|hpp)"
1> $CLANG_TIDY_OUTPUT
2> /dev/null