#
# clang-tidy
#
# Configuration for clang-tidy v11.
#
Checks: "\
bugprone-*,\
-bugprone-macro-parentheses,\
-bugprone-branch-clone,\
cert-*,\
clang-diagnostic-*,\
misc-*,\
-misc-macro-parentheses,\
-misc-noexcept-move-constructor,\
-misc-no-recursion,\
cppcoreguidelines-*,\
-cppcoreguidelines-pro-*,\
cppcoreguidelines-pro-type-member-init,\
-cppcoreguidelines-owning-memory,\
-cppcoreguidelines-avoid-magic-numbers,\
-cppcoreguidelines-macro-usage,\
-cppcoreguidelines-avoid-non-const-global-variables,\
modernize-*,\
-modernize-use-auto,\
-modernize-use-default-member-init,\
-modernize-return-braced-init-list,\
-modernize-pass-by-value,\
-modernize-raw-string-literal,\
-modernize-use-trailing-return-type,\
performance-*,\
readability-*,\
-readability-qualified-auto,\
-readability-simplify-boolean-expr,\
-readability-else-after-return,\
-readability-inconsistent-declaration-parameter-name,\
-readability-implicit-bool-conversion,\
-readability-implicit-bool-cast,\
-readability-named-parameter,\
-readability-braces-around-statements,\
-readability-convert-member-functions-to-static,\
-readability-redundant-access-specifiers,\
-readability-make-member-function-const,\
-readability-magic-numbers,\
"

CheckOptions:
  - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
    value: '1'
  - key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
    value: '1'
  - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
    value: '1'

HeaderFilterRegex: '(gauth|glib|gnet|gpop|gsmtp|gssl|main)/.*'
