summaryrefslogtreecommitdiffstats
path: root/src/tools/androiddeployqt/main.cpp
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-08-18 15:03:38 +0200
committerQt Cherry-pick Bot <[email protected]>2025-08-20 05:46:43 +0000
commit0945156dc262d6818a4b41e155babbf6ad3e7087 (patch)
tree997a0adf5ff3103c1a71dce900ab997c133fe4f3 /src/tools/androiddeployqt/main.cpp
parent3a545d75886685ac5b4195ea8e985120972b8468 (diff)
QString: further optimize the invalid regex warning6.9
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.8 Change-Id: I7fe23bdafc9f63d0d43b801e704866be9961648c Reviewed-by: Thiago Macieira <[email protected]> (cherry picked from commit c1a4f722eca79a1811304a47349d332d57a86704) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit a9222a900d718ecdbf9d88485ceeb9f871e2c331)
Diffstat (limited to 'src/tools/androiddeployqt/main.cpp')
0 files changed, 0 insertions, 0 deletions