-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
47 lines (47 loc) · 1.42 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
Checks: '-*,
cppcoreguidelines-init-variables,
cppcoreguidelines-prefer-member-initializer,
misc-confusable-identifiers,
misc-const-correctness,
misc-definitions-in-headers,
misc-header-include-cycle,
misc-include-cleaner,
misc-misleading-bidirectional,
misc-misleading-identifier,
misc-misplaced-const,
misc-redundant-expression,
misc-unused-parameters,
misc-unused-using-decls,
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-loop-convert,
modernize-pass-by-value,
modernize-redundant-void-arg,
modernize-shrink-to-fit,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-nullptr,
modernize-use-starts-ends-with,
modernize-use-std-numbers,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
readability-string-compare,
readability-braces-around-statements,
readability-identifier-length,
readability-identifier-naming,
readability-string-compare,
'
WarningsAsErrors: true
FormatStyle: file
CheckOptions:
- key: readability-identifier-length.MinimumLoopCounterNameLength
value: 2
- key: readability-identifier-length.MinimumParameterNameLength
value: 2
- key: readability-identifier-length.MinimumVariableNameLength
value: 2