-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.clang-tidy
More file actions
46 lines (46 loc) · 1.56 KB
/
Copy path.clang-tidy
File metadata and controls
46 lines (46 loc) · 1.56 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
---
Checks: >
-*,
cppcoreguidelines-pro-type-cstyle-cast,
misc-const-correctness,
misc-unused-parameters,
modernize-loop-convert,
modernize-use-auto,
modernize-use-nullptr,
readability-braces-around-statements,
readability-identifier-naming,
readability-make-member-function-const,
performance-for-range-copy,
performance-enum-size,
performance-move-const-arg,
performance-no-automatic-move,
performance-noexcept-destructor,
performance-noexcept-move-constructor,
performance-noexcept-swap,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
performance-use-std-move,
performance-move-constructor-init
HeaderFilterRegex: 'src/(?!.*autogen).*'
WarningsAsErrors: '*'
CheckOptions:
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: misc-const-correctness.TransformValues
value: 'true'
# required because using "-fix" puts "const" after the typename instead of before
- key: misc-const-correctness.TransformValues
value: 'false'
- key: misc-const-correctness.TransformReferences
value: 'false'
- key: misc-const-correctness.TransformPointersAsValues
value: 'false'
- key: misc-const-correctness.TransformPointersAsPointers
value: 'false'
...