-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-tidy
More file actions
50 lines (48 loc) · 1.48 KB
/
Copy path.clang-tidy
File metadata and controls
50 lines (48 loc) · 1.48 KB
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
---
# Clang-Tidy configuration for OBS Polyemesis
# Static analysis for C/C++ code quality and security
Checks: >
clang-analyzer-*,
bugprone-*,
cert-*,
concurrency-*,
cppcoreguidelines-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-readability-magic-numbers,
-cppcoreguidelines-avoid-magic-numbers,
-modernize-use-trailing-return-type,
-readability-function-cognitive-complexity,
-cert-err33-c
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
FormatStyle: file
CheckOptions:
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.TypedefCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: UPPER_CASE
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-length.MinimumVariableNameLength
value: 1
- key: readability-identifier-length.MinimumParameterNameLength
value: 1
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: true
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: false
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: true