# Naming and a few bug-prone checks (docs/workflow/code-style.md). tools/tidy.py reports only the lines a change touches,
# so the old code base is not renamed in bulk; it converges as modules are refactored.
Checks: >
  -*,
  readability-identifier-naming,
  bugprone-dangling-handle,
  bugprone-use-after-move,
  bugprone-move-forwarding-reference,
  bugprone-sizeof-expression,
  bugprone-suspicious-memset-usage,
  bugprone-undefined-memory-manipulation,
  bugprone-infinite-loop,
  bugprone-integer-division,
  bugprone-string-constructor,
  bugprone-casting-through-void,
  modernize-use-nullptr,
  modernize-use-override,
  cppcoreguidelines-owning-memory
WarningsAsErrors: ''
HeaderFilterRegex: '(src|tests)/'
CheckOptions:
  readability-identifier-naming.NamespaceCase: lower_case
  readability-identifier-naming.ClassCase: CamelCase
  readability-identifier-naming.StructCase: CamelCase
  readability-identifier-naming.UnionCase: CamelCase
  readability-identifier-naming.EnumCase: CamelCase
  readability-identifier-naming.TypeAliasCase: CamelCase
  readability-identifier-naming.TypedefCase: CamelCase
  readability-identifier-naming.FunctionCase: CamelCase
  readability-identifier-naming.MethodCase: CamelCase
  readability-identifier-naming.GlobalVariableCase: camelBack
  readability-identifier-naming.GlobalVariablePrefix: g_
  readability-identifier-naming.GlobalConstantCase: CamelCase
  readability-identifier-naming.GlobalConstantPrefix: k
  readability-identifier-naming.ConstexprVariableCase: CamelCase
  readability-identifier-naming.ConstexprVariablePrefix: k
  readability-identifier-naming.StaticConstantCase: CamelCase
  readability-identifier-naming.StaticConstantPrefix: k
  readability-identifier-naming.LocalVariableCase: camelBack
  readability-identifier-naming.ParameterCase: camelBack
  readability-identifier-naming.TemplateParameterCase: CamelCase
  readability-identifier-naming.EnumConstantCase: CamelCase
