-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
34 lines (33 loc) · 1.16 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Notes:
# - clang-analyzer-optin.core.EnumCastOutOfRange: Useful, complains about std::filesystem::file_size for no fucking reason
# - clang-analyzer-cplusplus.NewDeleteLeaks: borked (https://github.com/llvm/llvm-project/issues/55219)
Checks: >
-*,
bugprone-*,
clang-*,
misc-*,
performance-*,
portability-*,
readability-*,
modernize-deprecated-headers,
-bugprone-easily-swappable-parameters,
-bugprone-exception-escape,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-diagnostic-unused-parameter,
-misc-non-private-*,
-misc-const-correctness,
-misc-include-cleaner,
-performance-avoid-endl,
-performance-enum-size,
-readability-function-cognitive-complexity,
-readability-make-member-function-const,
-readability-named-parameter,
-readability-inconsistent-declaration-parameter-name,
-readability-magic-numbers,
-readability-identifier-length,
-readability-else-after-return,
-readability-convert-member-functions-to-static,
-readability-uppercase-literal-suffix,
-clang-analyzer-cplusplus.NewDeleteLeaks
# Windows does not like to cooperate with the correct type of path slashes
HeaderFilterRegex: ".*\\/src\\/hazel\\/.*"