xref: /aosp_15_r20/external/bc/.clang-tidy (revision 5a6e848804d15c18a0125914844ee4eb0bda4fcf)
1Checks:            'clang-diagnostic-*,clang-analyzer-*'
2WarningsAsErrors:  'clang-diagnostic-*,clang-analyzer-*'
3HeaderFilterRegex: ''
4AnalyzeTemporaryDtors: false
5FormatStyle:     file
6CheckOptions:
7  - key:             llvm-else-after-return.WarnOnConditionVariables
8    value:           'false'
9  - key:             modernize-loop-convert.MinConfidence
10    value:           reasonable
11  - key:             modernize-replace-auto-ptr.IncludeStyle
12    value:           llvm
13  - key:             cert-str34-c.DiagnoseSignedUnsignedCharComparisons
14    value:           'false'
15  - key:             google-readability-namespace-comments.ShortNamespaceLines
16    value:           '10'
17  - key:             cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
18    value:           'false'
19  - key:             cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
20    value:           'true'
21  - key:             cert-dcl16-c.NewSuffixes
22    value:           'L;LL;LU;LLU'
23  - key:             google-readability-braces-around-statements.ShortStatementLines
24    value:           '1'
25  - key:             modernize-pass-by-value.IncludeStyle
26    value:           llvm
27  - key:             google-readability-namespace-comments.SpacesBeforeComments
28    value:           '2'
29  - key:             modernize-loop-convert.MaxCopySize
30    value:           '16'
31  - key:             cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
32    value:           'true'
33  - key:             modernize-use-nullptr.NullMacros
34    value:           'NULL'
35  - key:             llvm-qualified-auto.AddConstToQualified
36    value:           'false'
37  - key:             modernize-loop-convert.NamingStyle
38    value:           CamelCase
39  - key:             llvm-else-after-return.WarnOnUnfixable
40    value:           'false'
41  - key:             google-readability-function-size.StatementThreshold
42    value:           '800'
43...
44