1Checks: > 2 bugprone-copy-constructor-init, 3 bugprone-dangling-handle, 4 bugprone-infinite-loop, 5 bugprone-stringview-nullptr, 6 bugprone-use-after-move, 7 8 llvm-include-order, 9 llvm-namespace-comment, 10 11 misc-definitions-in-headers, 12 misc-misplaced-const, 13 misc-non-copyable-objects, 14 misc-uniqueptr-reset-release, 15 16 modernize-loop-convert, 17 modernize-redundant-void-arg, 18 modernize-use-override, 19 20 readability-duplicate-include, 21 readability-identifier-naming, 22 readability-function-cognitive-complexity, 23 readability-function-size, 24 readability-misplaced-array-index, 25 readability-redundant-control-flow, 26 readability-redundant-function-ptr-dereference, 27 readability-redundant-preprocessor, 28 readability-simplify-boolean-expr, 29 readability-simplify-subscript-expr, 30 readability-uniqueptr-delete-release, 31 32CheckOptions: 33 - key: readability-function-cognitive-complexity.Threshold 34 value: 143 # TODO: bring that number down 35 - key: readability-function-size.LineThreshold 36 value: 194 # TODO: bring that number down 37 - key: readability-identifier-naming.GetConfigPerFile 38 value: false 39 - key: readability-identifier-naming.ParameterCase 40 value: lower_case 41 - key: readability-identifier-naming.ParameterPrefix 42 value: __ 43 - key: readability-identifier-naming.PrivateMemberCase 44 value: lower_case 45 - key: readability-identifier-naming.PrivateMemberPrefix 46 value: __ 47 - key: readability-identifier-naming.PrivateMemberSuffix 48 value: _ 49 - key: readability-identifier-naming.LocalVariableCase 50 value: lower_case 51 - key: readability-identifier-naming.LocalVariablePrefix 52 value: __ 53 - key: readability-identifier-naming.TemplateParameterCase 54 value: CamelCase 55 - key: readability-identifier-naming.TemplateParameterPrefix 56 value: _ 57 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp 58 value: (.*\:auto|expr-type) # This is https://llvm.org/PR56464 59 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp # TODO: enforce naming of variable parameters 60 value: .* 61 62# TODO: investigate these checks 63# bugprone-branch-clone, 64# bugprone-macro-parentheses, 65# cppcoreguidelines-prefer-member-initializer, 66# misc-unused-parameters, 67# modernize-use-bool-literals, 68# modernize-use-default-member-init, 69# modernize-use-equals-default, 70# modernize-use-equals-delete, 71# modernize-use-nullptr, 72# portability-restrict-system-includes, 73# readability-function-cognitive-complexity, 74# readability-implicit-bool-conversion, 75# readability-isolate-declaration, 76# readability-redundant-access-specifiers, 77# readability-redundant-declaration, 78# readability-redundant-member-init, 79# 80