Make the fallback Q_ASSUME and Q_UNREACHABLE be qt_noop
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 28 Mar 2012 19:41:07 +0000 (16:41 -0300)
committerQt by Nokia <qt-info@nokia.com>
Sat, 21 Apr 2012 03:09:24 +0000 (05:09 +0200)
commitf4227a7b86f073724bb456e075bafb9031844ff1
treed9f3ca1d79db884301213c3419c34ead01c9be03
parent4d55ba046c8485e632fd7d86152c8f505e4145c7
Make the fallback Q_ASSUME and Q_UNREACHABLE be qt_noop

That way, we can properly add ; after them, and I can use Q_ASSUME in
Q_ASSERT's else condition.

Change-Id: Iad35819fbb06714116b7dd0f952e1c2c89044c72
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/global/qcompilerdetection.h