qt5base-lts/tests/auto/corelib
Marc Mutz cb93117d06 QChar: prepare relational operators for constexpr'ification
Make sure the relational operators are in a constexpr'able form
by removing the use of the const/non-const-overloaded unicode()
function, which in the relational operators is resolved to the
non-const version, which isn't constexpr'able.

Replaced with direct member access for op== and op< (required
making them friends) and reformulating the other operators in
terms of these two.

Since I managed to introduce a bug while doing this change,
add a simple test for QChar operators, too.

Change-Id: I69f3da849e71abc2a17152f797694950914adebc
Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-12-10 01:26:51 +01:00
..
animation Update license headers and add new license files 2014-09-24 12:26:19 +02:00
codecs Hardcode UTF-8 for "unicode" in QTextCodec::codecForHtml(). 2014-10-28 12:17:13 +01:00
global Merge remote-tracking branch 'origin/5.4' into dev 2014-11-24 13:39:13 +01:00
io Disable the tests that verify that the available space shrunk 2014-11-22 20:02:45 +01:00
itemmodels QSortFilterProxyModel: honor the roles parameter of dataChanged 2014-12-07 20:51:08 +01:00
json Add conversion between QVariantHash and QJsonObject 2014-10-30 12:14:42 +01:00
kernel Fix QMetaProperty::write so it tries to register a property type. 2014-12-07 12:38:40 +01:00
mimetypes Update license headers and add new license files 2014-09-24 12:26:19 +02:00
plugin Update license headers and add new license files 2014-09-24 12:26:19 +02:00
statemachine tst_QState: fix memleaks 2014-10-19 13:18:12 +02:00
thread Use the new warning enabling/disabling macros in qtbase 2014-12-03 18:09:17 +01:00
tools QChar: prepare relational operators for constexpr'ification 2014-12-10 01:26:51 +01:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00