forked from zeek/spicy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
39 lines (36 loc) · 1.25 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
---
Checks: 'bugprone,
cert,
clang,
misc,
modernize,
performance,
portability,
readability,
-cert-err58-cpp,
-clang-diagnostic-c++2a-designator,
-clang-diagnostic-deprecated-copy,
-clang-diagnostic-range-loop-analysis,
-misc-macro-parentheses,
-misc-non-private-member-variables-in-classes,
-misc-suspicious-semicolon,
-misc-unused-parameters,
-modernize-avoid-c-arrays,
-modernize-use-equals-default,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
-readability-container-size-empty,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-make-member-function-const,
-readability-named-parameter,
-readability-qualified-auto,
'
HeaderFilterRegex: '(/include/(hilti|spicy)/[^3].*/[^_][^_][^/]*$)|(^3rdparty.*)'
WarningsAsErrors: '*'
CheckOptions:
- key: performance-unnecessary-value-param.AllowedTypes
value: hilti::NodeRef