# Include hygiene for the C++ core (see tools/include-cleanup.sh + the
# `include-cleanup` CI job). Only the include-cleaner check is enabled -- this
# is an IWYU-style "include exactly what you use" gate, NOT the full clang-tidy
# lint surface. Formatting stays with .clang-format (SortIncludes: Never, so the
# hand-maintained // System vs // Project ordering is preserved).
#
# HeaderFilterRegex restricts diagnostics/fixes to our own headers under cpp/
# and bindings_c/ -- cpp/third_party (pugixml, eigen) is never touched.
# Deliberately-"unused"-looking includes (compat shims, guarded optional-dep
# headers) carry `// IWYU pragma: keep` in the source so include-cleaner leaves
# them alone.
---
Checks: '-*,misc-include-cleaner'
HeaderFilterRegex: '.*/(cpp/(include|src)|bindings_c)/.*'
WarningsAsErrors: ''
FormatStyle: file
