---
Checks: '-*,
         bugprone-*,
         clang-analyzer-*,
         concurrency-*,
         modernize-*,
         performance-*,
         readability-*,
         -modernize-use-trailing-return-type,
         -clang-analyzer-core.CallAndMessage,
         -readability-identifier-length,
         -readability-braces-around-statements,
         -readability-magic-numbers,
         -clang-analyzer-optin.core.EnumCastOutOfRange,
         -bugprone-easily-swappable-parameters,
         -readability-function-cognitive-complexity,
         -readability-else-after-return,
         -bugprone-suspicious-stringview-data-usage'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/(source|shims)/.*'
ExcludeHeaderFilterRegex: '.*[\\/]include[\\/]prism\.h$|.*[\\/]source[\\/]backends[\\/](raw|android)[\\/].*|.*[\\/]shims[\\/](tolk|sral|universal_speech|speech_core)[\\/].*'
FormatStyle: file
CheckOptions:
  bugprone-signed-bitwise.IgnorePositiveIntegerLiterals: true
  bugprone-reserved-identifier.AllowedIdentifiers: '_GNU_SOURCE;__SPEECH_C_EXPORT;__SPEECH_C_STATIC;__pfnDliFailureHook2;__bChangeProtectionOfWholeDloadSection'
