Commit Graph

10 Commits

Author SHA1 Message Date
0977fb89b3 debug/assert: don't use iostream 2021-04-12 16:56:06 +10:00
bb3aff28ce debug/common: don't include iostream 2021-04-12 16:11:32 +10:00
6f8197c0e2 debug/assert: split out trace and common sections 2021-04-12 16:03:22 +10:00
2c7eb400c3 debug: move warning code into warn header 2021-04-12 15:53:13 +10:00
56ba3cb325 debug/assert: add a more descriptive version of WARN_RETURN 2021-04-12 15:10:25 +10:00
dd1e9bbbd7 build: use more explicit headers 2021-01-20 14:19:33 +10:00
fdaa5e1392 assert: split CHECK_LIMIT into INCLUSIVE and INDEX
LIMIT hid an off-by-one bug when tests used end iterators. We rename the
assertion to uncover all uses of the flawed implementation, and split it
into an identical assertion, and one intended to protect against
iterator ends.
2020-09-24 08:03:41 +10:00
ca192ef4d8 debug/assert: add warn_return 2020-09-10 15:08:10 +10:00
2d9a7109b1 debug/assert: give WARN_RETURN a sane name 2019-07-19 16:33:37 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00