-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.clang-tidy
44 lines (42 loc) · 1.59 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
---
Checks: "-*, \
modernize-*, \
-modernize-avoid-c-arrays, \
-modernize-pass-by-value, \
-modernize-use-trailing-return-type, \
performance-faster-string-find, \
performance-for-range-copy, \
performance-inefficient-string-concatenation, \
performance-trivially-destructible, \
readability-*, \
-readability-magic-numbers, \
-readability-convert-member-functions-to-static, \
-readability-isolate-declaration, \
-readability-implicit-bool-conversion, \
-readability-else-after-return, \
-readability-braces-around-statements, \
-readability-named-parameter, \
-readability-identifier-length, \
-readability-qualified-auto, \
-readability-function-cognitive-complexity, \
cppcoreguidelines-*, \
-cppcoreguidelines-avoid-magic-numbers, \
-cppcoreguidelines-macro-usage, \
-cppcoreguidelines-owning-memory, \
-cppcoreguidelines-non-private-member-variables-in-classes, \
-cppcoreguidelines-avoid-non-const-global-variables, \
-cppcoreguidelines-prefer-member-initializer, \
-cppcoreguidelines-special-member-functions, \
-cppcoreguidelines-pro-type-union-access, \
-cppcoreguidelines-explicit-virtual-functions, \
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, \
-cppcoreguidelines-pro-bounds-pointer-arithmetic, \
-cppcoreguidelines-avoid-c-arrays, \
-cppcoreguidelines-pro-bounds-constant-array-index"
CheckOptions:
- key: modernize-use-override.IgnoreDestructors
value: true
- key: cppcoreguidelines-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion
value: false
FormatStyle: file
HeaderFilterRegex: 'include/.*\.(hh|icc)'