forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
43 lines (43 loc) · 1.8 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
Checks: '# disable all checks by default
-*
readability-identifier-length
# and only explicitly enable the ones we need
performance-*
readability-*
bugprone-*
clang-analyzer-*
cppcoreguidelines-*
modernize-*
mpi-*
misc-*
-readability-implicit-bool-conversion
-readability-qualified-auto
-cppcoreguidelines-owning-memory
-cppcoreguidelines-avoid-magic-numbers
-readability-magic-numbers
-readability-static-accessed-through-instance
-readability-avoid-nested-conditional-operator
-readability-avoid-return-with-void-value
-readability-redundant-casting
-readability-redundant-inline-specifier
-readability-use-std-min-max
-cppcoreguidelines-pro-type-static-cast-downcast
-bugprone-suspicious-enum-usage
-readability-uppercase-literal-suffix
-cppcoreguidelines-avoid-non-const-global-variables
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-misc-no-recursion
-readability-isolate-declaration
-cppcoreguidelines-pro-type-vararg
-misc-non-private-member-variables-in-classes
-performance-no-automatic-move
-readability-avoid-const-params-in-decls
-cppcoreguidelines-non-private-member-variables-in-classes
'
# Use .clang-format for formatting
FormatStyle: file
CheckOptions:
- key: readability-identifier-length.IgnoredParameterNames
value: 'i|r|g|b|a|x|y|z|c|p|L|rr|fg|bg|gg|bb|id|pC|pT|pH|to|it|pW|ch'
- key: readability-identifier-length.IgnoredVariableNames
value: 'i|r|g|b|a|x|y|z|c|p|L|rr|fg|bg|gg|bb|id|pC|pT|pH|to|it|pW|ch'