-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
68 lines (63 loc) · 1.73 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Checks that will be implemented in future PRs:
# performance-unnecessary-value-param, hints to ~110 issues. Be careful with implementing the suggested changes of this one, as auto-fixes may break the code
FormatStyle: file
Checks: "
-*,
google-*,
-google-runtime-int,
-google-runtime-references,
-google-readability-namespace-comments,
llvm-include-order,
modernize*,
hicpp-*,
-hicpp-use-equals-default,
-hicpp-explicit-conversions,
clang-analyzer-*,
bugprone-*,
-bugprone-narrowing-conversions,
misc-*,
cppcoreguidelines-*,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
cert-*,
-cert-err58-cpp,
portability-*,
readability-*,
-readability-magic-numbers,
performance-*
"
WarningsAsErrors: "
-*,
google-*,
-google-runtime-int,
-google-runtime-references,
-google-readability-namespace-comments,
llvm-include-order,
modernize*,
hicpp-*,
-hicpp-use-equals-default,
-hicpp-explicit-conversions,
clang-analyzer-*,
bugprone-*,
-bugprone-narrowing-conversions,
misc-*,
cppcoreguidelines-*,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
portability-*,
readability-*,
-readability-magic-numbers,
performance-*
"
HeaderFilterRegex: ".*hpp"
CheckOptions:
- key: google-readability-braces-around-statements.ShortStatementLines
value: "3"