-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
56 lines (56 loc) · 1.86 KB
/
Copy path.clang-tidy
File metadata and controls
56 lines (56 loc) · 1.86 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
51
52
53
54
55
56
---
Checks: "-*,\
bugprone-*,\
bugprone-reserved-identifier,\
-bugprone-exception-escape,\
-bugprone-unused-return-value,\
boost-*,\
-boost-use-ranges,\
cert-*,\
-cert-err33-c,\
-cert-err58-cpp,\
clang-analyzer-*,\
-clang-analyzer-unix.BlockInCriticalSection,\
cppcoreguidelines-*,\
-cppcoreguidelines-avoid-*,\
-cppcoreguidelines-init-variables,\
-cppcoreguidelines-macro-*,\
-cppcoreguidelines-narrowing-conversions,\
-cppcoreguidelines-owning-memory,\
-cppcoreguidelines-prefer-member-initializer,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-cppcoreguidelines-pro-type-reinterpret-cast,\
hicpp-*,\
misc-*,\
-misc-const-correctness,\
-misc-include-cleaner,\
-misc-no-recursion,\
modernize-*,\
-modernize-macro-to-enum,\
-modernize-use-designated-initializers,\
performance-*,\
-performance-enum-size,\
portability-*,\
-portability-avoid-pragma-once,\
readability-*,\
readability-identifier-length,\
readability-identifier-naming,\
-*magic-numbers,\
-*avoid-c-arrays,\
"
WarningsAsErrors: 'clang-*'
HeaderFilterRegex: '.*'
FormatStyle: file
User: clausklein
# options: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: lower_case }
- { key: readability-identifier-naming.MethodCase, value: lower_case }
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.MemberSuffix, value: _ }
- { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE }
- { key: readability-identifier-length.MinimumVariableNameLength, value: 2 }
- { key: readability-identifier-length.MinimumParameterNameLength, value: 1 }
- { key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals, value: true }
...