-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
44 lines (43 loc) · 1.28 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
35
36
37
38
39
40
41
42
43
44
Checks: >
# Checks to include
clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
readability-*,
modernize-*,
performance-*,
misc-*,
cppcoreguidelines-*,
# Checks to exclude
-*,
-clang-analyzer-osx.*,
-clang-analyzer-fuchsia.*,
-clang-analyzer-optin.osx.*,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-uppercase-literal-suffix,
-readability-magic-numbers,
-readability-isolate-declaration,
-misc-const-correctness,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-macro-usage,
CheckOptions:
- key: readability-function-cognitive-complexity.IgnoreMacros
value: true
FormatStyle: LLVM
WarningsAsErrors: '*'