---
# High-signal static analysis. The bug-finding groups are enabled wholesale;
# the negative entries switch off checks that conflict with deliberate project
# conventions (#pragma once) or that are pure style churn / very high false
# positive rate. Everything left enabled is expected to stay at zero findings,
# which WarningsAsErrors enforces.
Checks: >
  -*,
  bugprone-*,
  clang-analyzer-*,
  performance-*,
  portability-*,
  -bugprone-easily-swappable-parameters,
  -bugprone-narrowing-conversions,
  -performance-enum-size,
  -portability-avoid-pragma-once,
# clang-analyzer-* stays enabled but advisory: its only findings are inside
# third-party -isystem headers (cryptopp/httplib/csv), which we cannot patch.
WarningsAsErrors: '*,-clang-analyzer-*'
HeaderFilterRegex: '(^|/)src/odr/'
FormatStyle: file
