diff options
| author | Martin Hořeňovský | 2026-09-06 23:23:23 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-09-11 11:15:58 +0200 |
| commit | 6a5075bf73273ecb83fca61efdfde2fa1a2690bf (patch) | |
| tree | 6b5f8e4a6c02d653caf57b0059bc25d2d5306d2a /src/catch2/catch_version.cpp | |
| parent | 15db9be53067d66ecd11a7ddd3097d412047130a (diff) | |
| download | catch3-6a5075bf73273ecb83fca61efdfde2fa1a2690bf.tar.gz | |
Use locale-independent toLower
We generally do not even try to pretend to support more than plain ASCII,
because doing unicode in old C++ standards is a pain and a half. For
`toLower`, we used to wrap `std::tolower` with multiple casts to avoid UB,
but calling into it is relatively slow, and it tries to handle different
locales, which could cause unexpected results.
In addition, the new implementation is significantly faster, which helps
speed up the initial process bring up (as comparing tags, and thus test
cases is now faster).
Diffstat (limited to 'src/catch2/catch_version.cpp')
0 files changed, 0 insertions, 0 deletions