-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
34 lines (31 loc) · 1003 Bytes
/
.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
Checks: '-*,bugprone-*,performance-*,readability-*,google-global-names-in-headers,cert-dcl59-cpp,-bugprone-easily-swappable-parameters,-readability-identifier-length,-readability-magic-numbers,-readability-function-cognitive-complexity,-readability-function-size,-readability-convert-member-functions-to-static'
CheckOptions:
- key: performance-unnecessary-value-param.AllowedTypes
value: shared_ptr;unique_ptr
# Enabled checks:
# - bugprone
# - performance
# - readability
# - google-global-names-in-headers
# - cert-dcl59-cpp
#
# Specific disabled checks
#
# bugprone-easily-swappable-parameters:
# Doesn't make sense to exclude functions taking multiple ints in SCL.
#
# readability-identifier-length:
# Short identifiers make sense.
#
# readability-magic-numbers:
# Too strict.
#
# readability-convert-member-functions-to-static
# Too many false positives.
#
# readability-function-cognitive-complexity
# Catch2.
#
# readability-function-size
# Catch2.
AnalyzeTemporaryDtors: false