[qt/qt/qtdeclarative]: 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/qtdeclarative Pushed by mirror-service into branch '6.12'. Changed from 5c820a82181d982057830d74e5e0933c7fc5c3cb to b3427d1faf19b6e80a8d00794c3f5bf77f3068e2 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 8867409f2d3d75cfce15923552b4d75a2e1d13cf by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 14:34.. DomItem: turn Q_ASSERT into static_assert There's no reason to make something that can be detected at compile-time into a runtime error, so don't. Leave the old scope around to not have to re-indent the whole function. It will be removed in a follow-up patch as a drive-by. Amends 52d61e705ee606f3b673c757bdf253bdf6134a3b (6.2), though that might just have moved the code from elsewhere. Change-Id: I17870e11908b737052b8513e48b57483469c2c2a Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit bcf7a360747891a171f1c553f4fc97c4a4d0e4ed) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtdeclarative/-/commit/8867409f2d3d75cfce15923552b4d75a2e1d13cf Git commit b3427d1faf19b6e80a8d00794c3f5bf77f3068e2 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 16/07/2026 at 14:34.. DomItem: drop unneeded check for monostate in ownerAs() The up-front check isn't necessary, since the if-else-if chain that it is guarding is constexpr-if, so a compile-time branch. Each intantiation of the function template will retain exactly one of these branches, and each one does exactly one holds_alternative, so the up-front check is redundant. Leave a scope to not have to re-indent the whole function. It will be removed in a follow-up patch as a drive-by. Amends 40f223c6343bd2f925d9268f42674e92911ea368 (6.8), though that might just have kept the up-front check to avoid re-indenting itself.. Change-Id: I8398c46693f2c55f315c85eca7b7672e84e7e04e Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 3ac356c5cf1e7ef4526609e62718718bd0c387eb) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtdeclarative/-/commit/b3427d1faf19b6e80a8d00794c3f5bf77f3068e2