Skip to content

Commit 464e86d

Browse files
author
Ailing Zhang
committed
[ci] Use .clang-tidy for check_static_analyzer job
ghstack-source-id: 9d3d23269b91194344a6caa5beff2ac1a4fe0594 Pull Request resolved: #6330
1 parent 1d1ed47 commit 464e86d

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.clang-tidy

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
Checks: '-*,readability-identifier-naming,modernize-use-override'
1+
---
2+
Checks: '-*,
3+
performance-inefficient-string-concatenation,
4+
readability-identifier-naming'
25
CheckOptions:
36
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
47
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }

.github/workflows/scripts/check_clang_tidy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ cd taichi
66
python3 -m pip install -r requirements_dev.txt
77

88
export CI_SETUP_CMAKE_ARGS
9-
python3 ./scripts/run_clang_tidy.py $PWD/taichi -clang-tidy-binary clang-tidy-10 -checks=-*,performance-inefficient-string-concatenation,readability-identifier-naming -header-filter=$PWD/taichi -j2
9+
python3 ./scripts/run_clang_tidy.py $PWD/taichi -clang-tidy-binary clang-tidy-10 -header-filter=$PWD/taichi -j2

scripts/run_clang_tidy.sh

-11
This file was deleted.

0 commit comments

Comments
 (0)