-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
42 lines (33 loc) · 1.1 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
UseColor: true
Checks: >
bugprone-*,
clang-analyzer-cplusplus*,
concurrency-*,
cppcoreguidelines-*,
misc-*,
modernize-*,
performance-*,
readability-*,
# Bazel does this for determinism,
-clang-diagnostic-builtin-macro-redefined,
# suppress due to assert,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
# already only used when necessary,
-modernize-avoid-c-arrays,
# use domain notation,
-readability-identifier-length,
# allow unused variables to be unnamed,
-readability-named-parameter,
# simplify access frame unit vectors,
-readability-static-accessed-through-instance,
# disable aliases,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-c-copy-assignment-signature,
-cppcoreguidelines-explicit-virtual-functions,
-cppcoreguidelines-non-private-member-variables-in-classes,
WarningsAsErrors: '*'
HeaderFilterRegex: '^.*/turtle'
CheckOptions:
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 1