86 lines · plain
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 libcpp-*,9 10 llvm-include-order,11 llvm-namespace-comment,12 13 misc-definitions-in-headers,14 misc-misplaced-const,15 misc-non-copyable-objects,16 misc-uniqueptr-reset-release,17 18 modernize-loop-convert,19 modernize-redundant-void-arg,20 modernize-use-nullptr,21 modernize-use-override,22 modernize-use-equals-delete,23 24 readability-duplicate-include,25 readability-identifier-naming,26 readability-function-cognitive-complexity,27 readability-function-size,28 readability-misplaced-array-index,29 readability-redundant-control-flow,30 readability-redundant-function-ptr-dereference,31 readability-redundant-preprocessor,32 readability-simplify-boolean-expr,33 readability-simplify-subscript-expr,34 readability-uniqueptr-delete-release,35 36CheckOptions:37 - key: readability-function-cognitive-complexity.Threshold38 value: 143 # TODO: bring that number down39 - key: readability-function-size.LineThreshold40 value: 194 # TODO: bring that number down41 - key: readability-identifier-naming.GetConfigPerFile42 value: false43 - key: readability-identifier-naming.ParameterCase44 value: lower_case45 - key: readability-identifier-naming.ParameterPrefix46 value: __47 - key: readability-identifier-naming.PrivateMemberCase48 value: lower_case49 - key: readability-identifier-naming.PrivateMemberPrefix50 value: __51 - key: readability-identifier-naming.PrivateMemberSuffix52 value: _53 - key: readability-identifier-naming.LocalVariableCase54 value: lower_case55 - key: readability-identifier-naming.LocalVariablePrefix56 value: __57 - key: readability-identifier-naming.TemplateParameterCase58 value: CamelCase59 - key: readability-identifier-naming.TemplateParameterPrefix60 value: _61 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp62 value: (.*\:auto|expr-type) # This is https://llvm.org/PR5646463 - key: readability-identifier-naming.ValueTemplateParameterCase64 value: CamelCase65 - key: readability-identifier-naming.ValueTemplateParameterPrefix66 value: _67 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp68 value: (__[a-z_]|_[A-Z]).* # TODO: Converge on a single style for value template parameters69 70# TODO: investigate these checks71# bugprone-branch-clone,72# bugprone-macro-parentheses,73# cppcoreguidelines-prefer-member-initializer,74# misc-unused-parameters,75# modernize-use-bool-literals,76# modernize-use-default-member-init,77# modernize-use-equals-default,78# portability-restrict-system-includes,79# readability-function-cognitive-complexity,80# readability-implicit-bool-conversion,81# readability-isolate-declaration,82# readability-redundant-access-specifiers,83# readability-redundant-declaration,84# readability-redundant-member-init,85#86