-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
66 lines (66 loc) · 1.65 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Clang-tidy overview found in https://clang.llvm.org/extra/clang-tidy/
# For description of test cases, see https://clang.llvm.org/extra/clang-tidy/checks/list.html
#
# List generated with clang-tidy 10.0.0
# Updated for use with clang-tidy 16
#
# Do not use in-line comments
#
# Note:
# We use the compiler to detect uninitialized use, instead of "cppcoreguidelines-init-variables"
---
Checks: "abseil-*,
android-*,
boost-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
cert-*,
clang-analyzer-*,
clang-diagnostic-*,
concurrency-*,
-concurrency-mt-unsafe,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-init-variables,
darwin-*,
fuchsia-*,
google-*,
hicpp-*,
-hicpp-signed-bitwise,
linuxkernel-*,
llvm-*,
misc-*,
-misc-unused-parameters,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-macro-to-enum,
mpi-*,
objc-*,
openmp-*,
performance-*,
portability-*,
readability-*,
-readability-identifier-length,
-readability-magic-numbers,
zircon-*"
WarningsAsErrors: "*"
HeaderFilterRegex: "^cl"
AnalyzeTemporaryDtors: false
FormatStyle: none
User: user
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: "150"
- key: readability-function-size.StatementThreshold
value: "1600"
- key: hicpp-function-size.StatementThreshold
value: "1600"
- key: google-readability-function-size.StatementThreshold
value: "1600"
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: "_GNU_SOURCE"
- key: cert-dcl37-c.AllowedIdentifiers
value: "_GNU_SOURCE"
- key: cert-dcl51-cpp.AllowedIdentifiers
value: "_GNU_SOURCE"
---