-
Notifications
You must be signed in to change notification settings - Fork 37
/
.clang-tidy
77 lines (68 loc) · 2.05 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
67
68
69
70
71
72
73
74
75
76
77
# Copyright (c) 2020-2023 by the Zeek Project. See LICENSE for details.
---
Checks: '
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-bugprone-branch-clone,
-bugprone-macro-parentheses,
-bugprone-lambda-function-name,
-bugprone-unchecked-optional-access,
-bugprone-switch-missing-default-case,
-bugprone-empty-catch,
-bugprone-forward-declaration-namespace,
cert-*,
-cert-dcl37-c,
-cert-dcl51-cpp,
-cert-err58-cpp,
-cert-dcl58-cpp,
-cert-dcl21-cpp,
-cert-err33-c,
clang*,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-diagnostic-c++2a-designator,
-clang-diagnostic-deprecated-copy,
-clang-diagnostic-range-loop-analysis,
-clang-analyzer-core.StackAddressEscape,
misc-*,
-misc-macro-parentheses,
-misc-non-private-member-variables-in-classes,
-misc-suspicious-semicolon,
-misc-no-recursion,
-misc-unused-parameters,
-misc-const-correctness,
-misc-confusable-identifiers,
-misc-const-correctness,
-misc-use-anonymous-namespace,
-misc-include-cleaner,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-use-equals-default,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-modernize-return-braced-init-list,
-modernize-macro-to-enum,
performance-*,
-performance-enum-size,
portability-*,
readability-*,
-readability-braces-around-statements,
-readability-container-size-empty,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-identifier-naming,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-make-member-function-const,
-readability-named-parameter,
-readability-qualified-auto,
-readability-simplify-boolean-expr,
-readability-use-anyofallof,
-readability-identifier-length,
-readability-implicit-bool-conversion,
'
HeaderFilterRegex: '(hilti|spicy)/[a-zA-Z]+/include/([a-zA-Z]+/)*[a-zA-Z]+\.h'
WarningsAsErrors: '*'