xref: /openbmc/bmcweb/.clang-tidy (revision 257f5795)
1---
2Checks:          '*,-modernize-raw-string-literal,-modernize-use-nullptr,-cert-err58-cpp,-misc-unused-parameters,-google-runtime-references,-cppcoreguidelines-special-member-functions,-llvm-header-guard,-google-readability-todo,-llvm-include-order,-google-build-using-namespace,-clang-analyzer-alpha.clone.CloneChecker,-google-runtime-int,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-clang-analyzer-alpha.deadcode.UnreachableCode,-misc-use-after-move,-cppcoreguidelines-pro-type-vararg,-modernize-use-emplace,-cert-err60-cpp'
3WarningsAsErrors: ''
4HeaderFilterRegex: '(?!gtest)'
5AnalyzeTemporaryDtors: false
6CheckOptions:
7  - key:             google-readability-braces-around-statements.ShortStatementLines
8    value:           '1'
9  - key:             google-readability-function-size.StatementThreshold
10    value:           '800'
11  - key:             google-readability-namespace-comments.ShortNamespaceLines
12    value:           '10'
13  - key:             google-readability-namespace-comments.SpacesBeforeComments
14    value:           '2'
15  - key:             modernize-loop-convert.MaxCopySize
16    value:           '16'
17  - key:             modernize-loop-convert.MinConfidence
18    value:           reasonable
19  - key:             modernize-loop-convert.NamingStyle
20    value:           CamelCase
21  - key:             modernize-pass-by-value.IncludeStyle
22    value:           llvm
23  - key:             modernize-replace-auto-ptr.IncludeStyle
24    value:           llvm
25  - key:             modernize-use-nullptr.NullMacros
26    value:           'NULL'
27...
28
29