qt5base-lts/tests/auto/corelib/tools/qstringbuilder
Thiago Macieira d631c31235 Make QStringLiteral and QByteArrayLiteral always return the real types
Up until now, the macros would return an internal type that contained
the pointer to the data. This breaks code that tried to use the macros
with operators, like QStringBuilder but also when writing:

     QStringList() << QStringLiteral("a") << QStringLiteral("b");

This change seems to work fine now and I can also verify that this
works:

     const auto str = QStringLiteral("Hello");

Even though it creates a QString, which is non-POD and non-constexpr.

Change-Id: Iaf82af9bea4245513a1128ea54f9d2d3d785fb09
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
2012-04-23 23:26:28 +02:00
..
qstringbuilder1 Make QStringLiteral and QByteArrayLiteral always return the real types 2012-04-23 23:26:28 +02:00
qstringbuilder2 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstringbuilder3 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstringbuilder4 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstringbuilder.pro Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00