-
-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy path.clang-tidy
43 lines (43 loc) · 1.19 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
---
# The tests are held to somewhat lower quality standards than production code.
# The tests are also written in somewhat non-idiomatic C++ because they are tightly related to the C codebase.
Checks: >-
boost-*,
bugprone-*,
cert-*,
clang-analyzer-*,
cppcoreguidelines-*,
google-*,
hicpp-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-hicpp-function-size,
-google-readability-todo,
-google-runtime-references,
-google-readability-function-size,
-readability-avoid-const-params-in-decls,
-readability-magic-numbers,
-readability-function-size,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-bugprone-easily-swappable-parameters,
-llvm-header-guard,
-llvm-include-order,
-misc-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-reinterpret-cast,
-*-no-malloc,
-cert-msc30-c,
-cert-msc50-cpp,
-modernize-macro-to-enum,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.hpp'
FormatStyle: file
...