-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
33 lines (30 loc) · 1.31 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
---
# Adapted from drake's configuration file (link below)
# https://github.com/RobotLocomotion/drake/blob/master/.clang-tidy
Checks: >
clang-analyzer-*,
clang-diagnostic-*,
cppcoreguidelines-*,
google-*,
modernize-*,
performance-*,
readability-*,
-readability-redundant-access-specifiers,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-avoid-magic-numbers,
-readability-magic-numbers,
-readability-identifier-length,
-modernize-concat-nested-namespaces,
WarningsAsErrors: ''
FormatStyle: none
HeaderFilterRegex: ''
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: 'm_' }
- { key: readability-identifier-naming.StaticVariablePrefix, value: 's_' }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.ConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE }
...