3 Commits

Author SHA1 Message Date
dumb-kevin fc8a251e6d Add NOLINTs for intentional clang-tidy violations
- debug.cpp: bugprone-command-processor on the three popen call sites
  (nm symbol resolution, addr2line frame symbolization, crash-handler
  shell_exec helper). These are debug/crash paths that intentionally
  shell out.
- flexbuffer_cache.cpp: append bugprone-unchecked-string-to-number-conversion
  to the existing cert-err34-c NOLINTs on the three sscanf calls that
  parse compiler error strings; the parsed values are validated below.
- rng_test.cpp: append bugprone-float-loop-counter to the two existing
  NOLINTs guarding the log-distribution sampling loop.
- test_main.cpp: bugprone-exception-escape on main; the test runner
  lets exceptions propagate by design.
- zzip_test.cpp: append misc-predictable-rand to the existing NOLINT
  guarding deterministic test byte generation.
- ncurses_def.cpp: cata-use-string_view on set_title; signature has
  to mirror the sdltiles and wincurse implementations that use .c_str().
2026-05-12 10:53:27 +04:00
dumb-kevin ec9e606eb8 Reserve byte vector capacity in zzip test
- pre-allocate count entries before push_back loop in random-byte helper
- silences performance-inefficient-vector-operation
2026-05-09 10:02:29 +04:00
Andrew Krieger f9f91c6aec Remove path member from zzip so it can be tested in memory only, and write tests. 2025-09-24 18:52:41 -07:00