-
Notifications
You must be signed in to change notification settings - Fork 37
/
.clang-tidy
43 lines (43 loc) · 1.27 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
Checks: >
bugprone-*,
cert-*,
clang-analyzer-*,
clang-analyzer-*,
clang-diagnostic-*,
concurrency-*,
cppcoreguidelines-*,
fuchsia-multiple-inheritance,
google-*,
hicpp-*,
misc-*,
modernize-*,
mpi-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cert-err58-cpp,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-misc-include-cleaner,
-misc-no-recursion,
-modernize-use-trailing-return-type,
-readability-convert-member-functions-to-static,
-readability-function-cognitive-complexity,
-readability-identifier-length,
WarningsAsErrors: '*'
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: 'cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic'
value: '1'
- key: 'modernize-use-nullptr.NullMacros'
value: '1'
- key: 'misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic'
value: '1'
- key: 'readability-redundant-access-specifiers.CheckFirstDeclaration'
value: '1'