qt5base-lts/tests/auto/widgets
Marc Mutz 49c558eb0d QSizePolicy: inline toControlTypeFieldValue()
The implementation now uses the relaxed-constexpr
qCountTrailingZeroBits() function from QtAlgorithms, making the
QSizePolicy(Policy, Policy, ControlType) constructor constexpr on
C++14 compilers. The explicit check for DefaultType remains to keep
the constructor C++11-constexpr when called with just (Policy,
Policy).

Extend the constExpr tests a bit.

Change-Id: I59690f0921d9bdee08e3615d0d1f4a9b92870c32
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2017-02-27 23:09:27 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
effects QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview tst_qgraphicsview: use new QTest::addRow() more 2017-01-26 10:31:36 +00:00
itemviews Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
kernel QSizePolicy: inline toControlTypeFieldValue() 2017-02-27 23:09:27 +00:00
styles tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
util Added isObsolete and setObsolete functions in QUndoStack 2017-01-02 13:31:25 +00:00
widgets Widgets: Update micro focus in QLineEdit and friends 2017-02-17 17:09:50 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00