[qt/qt/qtbase]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtbase Pushed by mirror-service into branch '6.12'. Changed from a3777076d0edf2530a3e0b018db16c1f5410e29e to 4cd34f389333c9a69815980cf4c00c205d89adaa Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 4cd34f389333c9a69815980cf4c00c205d89adaa by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 23/07/2026 at 05:50.. QDirEntryInfo: try [[assume]] to fix Coverity UNCAUGHT_EXCEPTION FPs Coverity keeps complaining about visit()s in this class potentially throwing std::bad_variant_access, even after we closed the one real source of valueless_by_exception() (never realized in practice) by giving QFileInfo a nothrow move constructor (cf. eb4b67478a1a36c476ad20a90e7d5a3fd080516c), and added explicit assertions for !valueless_by_exception() (cf. 8bd5d7ee8f73dc70871f39e15ccaa785a077dcfc). Based on feedback from StackOverflow¹, try [[assume]] next. Just Q_PRESUME(valueless_by_exception()) doesn't compile (-Werrror,-Wassume, because the function has "potential side-effects"), so store the result in a local variable and check the variable. That works at least on Clang 21. ¹ https://stackoverflow.com/questions/79982210/how-to-deal-with-coveritys-stdvariant-throws-stdbad-variant-access-false?noredirect=1#comment141117145_79982210 Amends 336ff06b648e2e7419f9234e4d1018a63ac9fb5b (picked to 6.11). Pick-to: 6.11 Coverity-Id: 911594 Coverity-Id: 909813 Coverity-Id: 909676 Coverity-Id: 909674 Coverity-Id: 909672 Coverity-Id: 909666 Coverity-Id: 909663 Coverity-Id: 909661 Coverity-Id: 909660 Coverity-Id: 909656 Coverity-Id: 909650 Coverity-Id: 909648 Coverity-Id: 909645 Coverity-Id: 909640 Coverity-Id: 909639 Coverity-Id: 909637 Coverity-Id: 909636 Coverity-Id: 909633 Coverity-Id: 909632 Coverity-Id: 909629 Coverity-Id: 909628 Coverity-Id: 909627 Coverity-Id: 909626 Coverity-Id: 909624 Coverity-Id: 909622 Coverity-Id: 909621 Coverity-Id: 909618 Coverity-Id: 909616 Coverity-Id: 909615 Coverity-Id: 909614 Coverity-Id: 909613 Coverity-Id: 909612 Coverity-Id: 909611 Coverity-Id: 909598 Coverity-Id: 909597 Coverity-Id: 909596 Coverity-Id: 909593 Coverity-Id: 909591 Coverity-Id: 909590 Coverity-Id: 909589 Coverity-Id: 909588 Coverity-Id: 909585 Coverity-Id: 909582 Coverity-Id: 909580 Coverity-Id: 909579 Coverity-Id: 909576 Coverity-Id: 909572 Coverity-Id: 909568 Coverity-Id: 909566 Coverity-Id: 909561 Coverity-Id: 909559 Coverity-Id: 909557 Coverity-Id: 909555 Coverity-Id: 909553 Coverity-Id: 909550 Coverity-Id: 909546 Coverity-Id: 909544 Coverity-Id: 909542 Coverity-Id: 909539 Coverity-Id: 909534 Coverity-Id: 909533 Coverity-Id: 909532 Coverity-Id: 909526 Coverity-Id: 909522 Coverity-Id: 909517 Coverity-Id: 909516 Coverity-Id: 909515 Coverity-Id: 909514 Coverity-Id: 909513 Coverity-Id: 909510 Coverity-Id: 906992 Coverity-Id: 895839 Coverity-Id: 895838 Coverity-Id: 895835 Change-Id: Ia86b5ec12705fbc2bedba040d19d475360aa0fe4 Reviewed-by: Giuseppe D'Angelo <[email protected]> (cherry picked from commit bdb525db1aa1e439ab4ed8b4ee6f15b13c80bf26) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtbase/-/commit/4cd34f389333c9a69815980cf4c00c205d89adaa