Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/ExtraTests/X11-DisableStringification.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-12-23 16:06:30 +0100
committerMartin Hořeňovský2023-12-26 14:57:29 +0100
commit822c44a20395c6194d527110d59f7513a55b885c (patch)
tree966a81f78d7f9c631c583de8ec13bb4d930f16df /tests/ExtraTests/X11-DisableStringification.cpp
parent2295d2c8ccc0dba4b35adb95ef8946a05996df87 (diff)
downloadcatch3-822c44a20395c6194d527110d59f7513a55b885c.tar.gz
Cleanup help string construction in Clara
* Clara::Opt::getHelpColumns returns single item It could never return multiple items, but for some reason it was wrapping that single item in a vector. * Use ReusableStringStream in Clara * Reserve HelpColumns ahead of time * Use StringRef for descriptions in HelpColumn type The combination of these changes ends up removing about 7% (~200) of allocations when Catch2 has to prepare output for `-h`.
Diffstat (limited to 'tests/ExtraTests/X11-DisableStringification.cpp')
0 files changed, 0 insertions, 0 deletions