---
# 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-derived-method-shadowing-base-method,
  -bugprone-narrowing-conversions,
  -performance-enum-size,
  -portability-avoid-pragma-once,
# Typed value handles intentionally refine inherited nonvirtual methods.
# Path-sensitive analyzer findings remain advisory, including dependency code.
WarningsAsErrors: '*,-clang-analyzer-*'
HeaderFilterRegex: '(^|/)src/odr/'
FormatStyle: file
