diff options
Diffstat (limited to 'mypath/clang-tidy-check.sh')
-rwxr-xr-x | mypath/clang-tidy-check.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mypath/clang-tidy-check.sh b/mypath/clang-tidy-check.sh new file mode 100755 index 0000000..cea6e36 --- /dev/null +++ b/mypath/clang-tidy-check.sh | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | ########################################################################## | ||
4 | # File Name : clang-tidy-check.sh | ||
5 | # Encoding : utf-8 | ||
6 | # Author : We-unite | ||
7 | # Email : weunite1848@gmail.com | ||
8 | # Created Time : 2024-04-28 16:50:37 | ||
9 | ########################################################################## | ||
10 | |||
11 | set -e | ||
12 | |||
13 | clang-tidy -checks="-*,$2" -header-filter=.* $1 -- -I/usr/include | ||