forked from zufuliu/notepad4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
60 lines (59 loc) · 2 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
---
# https://clang.llvm.org/extra/clang-tidy/index.html
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
# --enable-check-profile
# Checks: -*,clang-diagnostic-*,
Checks: [
clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
cppcoreguidelines-slicing,
modernize-*,
performance-*,
readability-*,
misc-*,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-narrowing-conversions,
-bugprone-switch-missing-default-case,
-bugprone-unchecked-optional-access,
-modernize-avoid-c-arrays,
-modernize-macro-to-enum,
-modernize-redundant-void-arg,
-modernize-use-designated-initializers,
-modernize-use-nodiscard,
-modernize-use-std-numbers,
-modernize-use-trailing-return-type,
-modernize-use-using,
-performance-enum-size,
-performance-no-int-to-ptr,
-readability-avoid-nested-conditional-operator,
-readability-avoid-unconditional-preprocessor-if,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-math-missing-parentheses,
-readability-suspicious-call-argument,
-readability-uppercase-literal-suffix,
-misc-confusable-identifiers,
-misc-include-cleaner,
-misc-non-private-member-variables-in-classes,
-misc-use-anonymous-namespace,
-misc-use-internal-linkage,
# -modernize-return-braced-init-list,
# -modernize-use-auto,
# -modernize-use-default-member-init,
# -readability-braces-around-statements,
# -readability-else-after-return,
# -readability-named-parameter,
# -readability-simplify-boolean-expr,
# -bugprone-reserved-identifier,
# -misc-const-correctness,
]
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
FormatStyle: none