summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-05-31 18:27:41 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-06-04 00:22:56 +0000
commit8aacf83a76aa8d4896bbfb1b3a6e81fa697ae4e6 (patch)
treebb99219f6f3933babe2cf0a5aa540712675e81e1 /src/gui/util
parentd631e581c0853cd94310a9377458c117edcbd65d (diff)
Make Q_ASSUME() an expression (was: statement)
Like Q_ASSERT(), which was fixed for 5.10, it's also useful if Q_ASSUME() expands to an expression instead of a statement. This way, it's usable in more contexts, esp. the comma operator. [ChangeLog][QtCore][QtGlobal] Q_ASSUME() now expands to an expression (was: statement). Change-Id: I33dc3d1551a1b7454aa9587b9c33dfa2e3d2b09c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/util')
0 files changed, 0 insertions, 0 deletions