You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(clang): adopt C++20 std::format for diagnostics + clang hygiene (#66)
Address the clang-tidy backlog properly rather than with += churn or a
check-smothering rule:
- Bump to C++20 and convert diagnostic/error-message construction from
operator+ chains to std::format (standard, no third-party dep, readable
and allocation-efficient; compile-time checked). Covers the graph
compiler, dimensional validation, and the YAML/JSON loaders.
- Add tests/.clang-tidy relaxing test-noise checks (gtest optional-access
false positive, narrowing of literals, perf in fixtures) via the
directory-scoped mechanism instead of per-line NOLINTs.
- Genuine fixes: delay.hpp uses std::llround instead of the +0.5 idiom;
StateSpaceSisoDiscreteModel takes a_d by const ref (was copied);
namespace_test.cpp includes <algorithm>/<string> it uses directly.
Refs anolishq/.github#79, anolishq/.github#84
0 commit comments