Skip to content

Commit 159be28

Browse files
committed
Expand clang-tidy rule coverage
Broaden the clang-tidy configuration to enable bugprone, analyzer, portability, modernize, and readability checks by default while carving out a few noisy or undesirable rules. This shifts the project toward wider static analysis coverage with a more explicit allow/deny list.
1 parent fc46a5e commit 159be28

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)