-
Notifications
You must be signed in to change notification settings - Fork 46
/
.clang-tidy
54 lines (50 loc) · 1.62 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
# clang-tidy-19 -p build ...
Checks: '
readability-*,
-readability-avoid-nested-conditional-operator,
-readability-avoid-unconditional-preprocessor-if,
-readability-braces-around-statements,
-readability-container-data-pointer,
-readability-container-size-empty,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-inconsistent-declaration-parameter-name,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-math-missing-parentheses,
-readability-named-parameter,
-readability-qualified-auto,
-readability-uppercase-literal-suffix,
-readability-use-anyofallof,
bugprone-*,
-bugprone-assignment-in-if-condition,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-empty-catch,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-inc-dec-in-conditions,
-bugprone-narrowing-conversions,
-bugprone-signed-char-misuse,
-bugprone-switch-missing-default-case,
misc-*,
-misc-confusable-identifiers,
-misc-const-correctness,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-use-anonymous-namespace,
performance-*,
-performance-avoid-endl,
-performance-move-const-arg,
-performance-enum-size,
-clang-analyzer-unix.Stream,
-readability-use-std-min-max,
-readability-convert-member-functions-to-static,
-readability-make-member-function-const,
'
FormatStyle: none
HeaderFilterRegex: '(include/gemmi/[a-z0-9_]*\.hpp)|(prog/[a-z0-9_]*\.h)'
CheckOptions:
# this option doesn't always work, so bugprone-signed-char-misuse is off
bugprone-signed-char-misuse.CharTypdefsToIgnore: 'int8_t'