qt6-bb10/src/plugins
Marc Mutz 51089a5742 Use Q_UNLIKELY for every qFatal()/qCritical()
If, after checking a condition, we issue a qFatal()
or a qCritical(), by definition that check is
unlikely to be true.

Tell the compiler so it can move the error handling
code out of the normal code path to increase the
effective icache size.

Moved conditional code around where possible so that
we could always use Q_UNLIKELY, instead of having to
revert to Q_LIKELY here and there.

In some cases, simplified the expressions newly wrapped
in Q_UNLIKELY as a drive-by.

Change-Id: I67537d62b04bc6977d69254690c5ebbdf98bfd6d
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-11-29 22:59:17 +00:00
..
bearer Merge remote-tracking branch 'origin/5.6' into dev 2015-11-23 07:13:00 +01:00
generic Merge remote-tracking branch 'origin/5.6' into dev 2015-10-14 15:45:35 +02:00
imageformats Fix maximum size of .ico files in ICOReader::write() 2015-09-24 04:38:35 +00:00
platforminputcontexts Merge remote-tracking branch 'origin/5.6' into dev 2015-11-04 20:18:14 +01:00
platforms Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
platformthemes Port the Gtk platform theme to Gtk+ 3 2015-11-13 05:32:26 +00:00
printsupport Link to AppKit instead of Cocoa. 2015-09-05 11:49:17 +00:00
sqldrivers Update copyright headers 2015-02-11 06:49:51 +00:00
plugins.pro Remove remaining support for Blackberry 2015-11-21 15:38:39 +00:00