Skip to content

Commit 3ece76e

Browse files
committed
Expand clang-tidy checks with wildcard patterns
Replace individual check selections with broader wildcard patterns to enable more comprehensive static analysis. Enable clang-analyzer and portability checks. Add exclusions for checks that don't fit the project's coding style (static member conversion, C arrays, trailing return types, loop conversion).
1 parent 034746a commit 3ece76e

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.clang-tidy

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
Checks: >
22
google-*,
3-
readability-identifier-naming,
4-
modernize-redundant-void-arg,
5-
modernize-concat-nested-namespaces,
6-
modernize-use-nullptr,
7-
modernize-use-default-member-init,
8-
modernize-use-override,
9-
-google-runtime-references,
10-
-clang-analyzer-*,
11-
-misc-unused-include
3+
bugprone-*,
4+
clang-analyzer-*,
5+
portability-*,
6+
modernize-*,
7+
readability-*,
8+
-readability-convert-member-functions-to-static,
9+
-modernize-avoid-c-arrays,
10+
-modernize-loop-convert,
11+
-modernize-use-trailing-return-type,
12+
misc-unused-include
1213
1314
CheckOptions:
1415
- key: readability-identifier-naming.ClassCase

0 commit comments

Comments
 (0)