diff options
author | Marc Mutz <[email protected]> | 2025-08-18 15:03:38 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-08-19 07:23:10 +0200 |
commit | c1a4f722eca79a1811304a47349d332d57a86704 (patch) | |
tree | b2f9c3f70a8804e5763b75ab8819192784a1843b /dist/changes-5.12.0 | |
parent | e1ecbff3d36b666488f6f2eec299549f31ee078d (diff) |
Error handling code has no business bloating Qt executable code size,
so take two more steps to reduce its impact, on top of the locking it
away in a Q_DECL_COLD_FUNCTION:
First, split the 'where' argument into 'class' and 'method', in order
to facilitate the reuse of the class strings across users.
Second, move the QRegularExpression::pattern() call into the warning
function, to centralize the temporary QString handling code.
Saves half a KiB in text size on optimized Clang 19 Linux AMD64 C++23
builds.
Pick-to: 6.10 6.9 6.8
Change-Id: I7fe23bdafc9f63d0d43b801e704866be9961648c
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'dist/changes-5.12.0')
0 files changed, 0 insertions, 0 deletions