catch2/tests/SelfTest
Martin Hořeňovský 43f02027e4
Avoid allocations when looking for trackers
Now we delay allocating owning `NameAndLocation` instances until
we construct a new tracker (because a tracker's lifetime can be
significantly different from the underlying tracked-thing's name).

This saves 4239 allocations (436948 -> 432709) when running
`./tests/SelfTest -o /dev/null`, at some cost to code clarity
due to introducing a new ref type, `NameAndLocationRef`.
2023-01-29 10:14:20 +01:00
..
Baselines Stop exceptions in generator constructors from aborting the binary 2023-01-22 16:04:16 +01:00
helpers Support decomposing types that only compare with literal 0 2022-11-04 19:24:44 +01:00
IntrospectiveTests Avoid allocations when looking for trackers 2023-01-29 10:14:20 +01:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Fix references to license file 2022-10-28 11:30:15 +02:00
UsageTests Stop exceptions in generator constructors from aborting the binary 2023-01-22 16:04:16 +01:00
TestRegistrations.cpp Fix references to license file 2022-10-28 11:30:15 +02:00