Debian Codegraph @

.clang-tidy

raw
1 # SPDX-FileCopyrightText: 2020-2022 Rachel Mant <[email protected]>
2 # SPDX-FileCopyrightText: 2022 L. E. Segovia <[email protected]>
3 # SPDX-License-Ref: BSD-3-Clause
4
5 ---
6 Checks: '
7 bugprone-*
8 ,cert-*
9 ,cppcoreguidelines-*
10 ,modernize-*
11 ,performance-*
12 ,readability-*
13 ,portability-*
14 ,clang-analyzer-unix
15 ,clang-analyzer-security
16 ,clang-analyzer-deadcode
17 ,clang-analyzer-core
18 ,clang-analyzer-cplusplus
19 ,clang-analyzer-optin
20 ,llvm-namespace-comment
21 ,readability-static-accessed-through-instance
22 ,misc-const-correctness
23 ,-modernize-use-trailing-return-type
24 ,-cppcoreguidelines-avoid-magic-numbers
25 ,-readability-redundant-member-init
26 ,-readability-else-after-return
27 ,-readability-implicit-bool-conversion
28 ,-cppcoreguidelines-owning-memory
29 ,-cppcoreguidelines-pro-bounds-pointer-arithmetic
30 ,-cppcoreguidelines-pro-type-vararg
31 ,-readability-named-parameter
32 ,-readability-magic-numbers
33 ,-readability-uppercase-literal-suffix
34 ,-bugprone-easily-swappable-parameters
35 '
36 WarningsAsErrors: ''
37 FormatStyle: 'file'
38 AnalyzeTemporaryDtors: false
39 CheckOptions:
40 - key: cert-dcl16-c.NewSuffixes
41 value: 'L;LL;LU;LLU'
42 - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
43 value: '0'
44 - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
45 value: '0'
46 - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
47 value: true
48 - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
49 value: '1'
50 - key: modernize-loop-convert.MaxCopySize
51 value: '16'
52 - key: modernize-loop-convert.MinConfidence
53 value: reasonable
54 - key: modernize-loop-convert.NamingStyle
55 value: camelBack
56 - key: modernize-pass-by-value.IncludeStyle
57 value: llvm
58 - key: modernize-replace-auto-ptr.IncludeStyle
59 value: llvm
60 - key: modernize-use-nullptr.NullMacros
61 value: 'NULL'
62 - key: readability-braces-around-statements.ShortStatementLines
63 value: '4'
64 - key: cppcoreguidelines-owning-memory.LegacyResourceConsumers
65 value: '::free;::realloc;::freopen;::fclose;::toQShared;::QSharedPointer::QSharedPointer;::QSharedPointer::reset;::QScopedPointer::QScopedPointer;::QScopedPointer::reset'
66 - key: performance-unnecessary-value-param.AllowedTypes
67 value: '.+SP;QWeakPointer;QSharedPointer'
68 - key: modernize-use-auto.MinTypeNameLength
69 value: 10
70 - key: readability-identifier-length.IgnoredVariableNames
71 value: '^(gc|rc|p[0-9]|i[dot]|ok|[abcdijknopt]|c[rs]|fp|tf)$'
72 - key: readability-identifier-length.IgnoredParameterNames
73 value: '^(c[rs]|i[dot]|v)$'
74 - key: readability-identifier-length.IgnoredLoopCounterNames
75 value: '^[cijktuvxyz_]$'
76 - key: modernize-use-transparent-functors.SafeMode
77 value: true
78 - key: misc-const-correctness.WarnPointersAsValues
79 value: true
80 - key: misc-const-correctness.TransformPointersAsValues
81 value: true
82 ...