--- # ATP Engine clang-tidy configuration # # Enable categories incrementally — start strict on the code we write, # avoid noise from auto-generated code (ANTLR4). Checks: > -*, bugprone-*, -bugprone-easily-swappable-parameters, clang-analyzer-*, cppcoreguidelines-*, -cppcoreguidelines-avoid-const-or-ref-data-members, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-pro-type-reinterpret-cast, -cppcoreguidelines-pro-bounds-pointer-arithmetic, -cppcoreguidelines-owning-memory, misc-*, -misc-no-recursion, -misc-non-private-member-variables-in-classes, modernize-*, -modernize-use-trailing-return-type, performance-*, readability-*, -readability-magic-numbers, -readability-identifier-length, WarningsAsErrors: '' HeaderFilterRegex: 'include/atp/.*\.h$' CheckOptions: - key: readability-identifier-naming.NamespaceCase value: lower_case - key: readability-identifier-naming.ClassCase value: CamelCase - key: readability-identifier-naming.StructCase value: CamelCase - key: readability-identifier-naming.FunctionCase value: camelBack - key: readability-identifier-naming.VariableCase value: lower_case - key: readability-identifier-naming.MemberCase value: lower_case - key: readability-identifier-naming.MemberSuffix value: '_' - key: readability-identifier-naming.ConstantCase value: CamelCase - key: readability-identifier-naming.ConstantPrefix value: k - key: readability-identifier-naming.LocalConstantCase value: lower_case - key: readability-identifier-naming.LocalConstantPrefix value: '' - key: readability-identifier-naming.LocalConstantSuffix value: '' - key: readability-identifier-naming.EnumConstantCase value: CamelCase - key: readability-identifier-naming.EnumConstantPrefix value: k - key: readability-identifier-naming.ConstexprVariableCase value: CamelCase - key: readability-identifier-naming.ConstexprVariablePrefix value: k - key: readability-identifier-naming.GlobalConstantCase value: CamelCase - key: readability-identifier-naming.GlobalConstantPrefix value: k - key: readability-identifier-naming.TemplateParameterCase value: CamelCase - key: performance-move-const-arg.CheckTriviallyCopyableMove value: false - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor value: true - key: readability-function-cognitive-complexity.Threshold value: 25