-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
44 lines (40 loc) · 1.38 KB
/
Copy path.clang-tidy
File metadata and controls
44 lines (40 loc) · 1.38 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
---
# Enable broad categories of checks, then disable specific noisy/inapplicable ones
Checks: >
bugprone-*,
clang-analyzer-*,
cppcoreguidelines-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-vararg,
-misc-non-private-member-variables-in-classes,
-modernize-use-trailing-return-type,
-readability-identifier-length,
-readability-magic-numbers,
WarningsAsErrors: ""
# Analyse headers within the project, exclude external/third-party
HeaderFilterRegex: "^(?!.*/(external|cplex)/)"
FormatStyle: file
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: "25"
- key: readability-function-size.LineThreshold
value: "80"
- key: readability-function-size.StatementThreshold
value: "200"
- key: modernize-use-default-member-init.UseAssignment
value: "false"
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: "true"
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: "true"
- key: bugprone-argument-comment.StrictMode
value: "false"