qt5base-lts/tests/auto/corelib/tools
Giuseppe D'Angelo 34fe9232db Port from QAtomic::load() to loadRelaxed()
Semi-automated, just needed ~20 manual fixes:

$ find \( -iname \*.cpp -or -iname \*.h \) -exec perl -pe 's/(\.|->)load\(\)/$1loadRelaxed\(\)/g' -i \{\} +
$ find \( -iname \*.cpp -or -iname \*.h \) -exec perl -pe 's/(\.|->)store\(/$1storeRelaxed\(/g' -i \{\} +

It can be easily improved (e.g. for store check that there are no commas
after the opening parens). The most common offender is QLibrary::load,
and some code using std::atomic directly.

Change-Id: I07c38a3c8ed32c924ef4999e85c7e45cf48f0f6c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2019-06-20 20:48:59 +02:00
..
collections test: migrate collections test to QRegularExpression 2019-06-10 19:24:05 +00:00
containerapisymmetry Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qalgorithms Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qarraydata Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qarraydata_strictiterators
qbitarray
qbytearray Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
qbytearraylist Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qbytearraymatcher Long live QStaticByteArrayMatcher! 2017-01-19 21:37:46 +00:00
qbytedatabuffer
qcache
qchar Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qcollator Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qcommandlineparser QCommandLineParser: add --help-all, to show Qt options as well 2019-05-15 15:28:18 +02:00
qcontiguouscache Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qcryptographichash QCryptographicHash: Add a static method to retrieve hash length 2018-04-10 12:17:43 +00:00
qeasingcurve Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qexplicitlyshareddatapointer Add nullptr comparison to Q{Explicitly,}SharedDataPointer 2018-03-18 17:28:26 +00:00
qfreelist Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qhash Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qhash_strictiterators
qhashfunctions qhashfunctions.h: add specializations of std::hash for some Qt types 2019-05-29 11:22:20 +02:00
qlatin1string Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qline QLineF: add intersects() as a replacement for intersect() 2019-04-25 17:58:40 +00:00
qlinkedlist Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qlist Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00:00
qlist_strictiterators
qlocale Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
qmacautoreleasepool Add missing dependencies for tst_qmacautoreleasepool 2018-08-29 02:47:45 +00:00
qmakearray corelib/tools: add qMakeArray() API 2018-07-25 06:57:44 +00:00
qmap Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qmap_strictiterators
qmargins
qmessageauthenticationcode
qoffsetstringarray corelib/tools: Fix auto detection of QOffsetStringArray::m_offset type 2018-08-28 14:42:46 +00:00
qpair core: Add deduction guides for QPair 2019-03-25 19:48:29 +00:00
qpoint
qpointf Fix regression in QPointF::operator== 2018-07-09 15:38:31 +00:00
qqueue
qrect Improve rounding of QRect::toRect 2017-06-26 21:35:38 +00:00
qregexp QRegExp: remove an out of bounds access into QString 2019-05-27 17:33:30 +00:00
qregularexpression QRegularExpression: anchor wildcard pattern 2018-12-15 13:24:16 +00:00
qringbuffer QRingBuffer: avoid reallocations of the data 2017-12-30 10:15:10 +00:00
qscopedpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qscopedvaluerollback Use move more consistently in QScopedValueRollback 2019-03-27 07:56:15 +00:00
qscopeguard Introduce QScopeGuard 2018-07-21 17:47:35 +00:00
qset Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qsharedpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qsize
qsizef
qstl
qstring Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
qstring_no_cast_from_bytearray
qstringapisymmetry QStringView, QLatin1String: add lastIndexOf methods 2019-06-18 14:48:50 +03:00
qstringbuilder QStringBuilder: add support for QStringView 2018-01-08 09:41:43 +00:00
qstringiterator QStringIterator: port to QStringView 2017-04-03 15:41:09 +00:00
qstringlist Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qstringmatcher QStringMatcher: add QStringView support 2019-03-14 04:48:06 +00:00
qstringref Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
qstringview QStringView: Add compare() member function 2018-07-13 13:32:34 +00:00
qtextboundaryfinder Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qtimeline Extend blacklisting of qtimeline::frameRate to macOS 10.13 2018-09-24 21:13:00 +00:00
qvarlengtharray Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qvector Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qvector_strictiterators
qversionnumber Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
tools.pro Separate out the time, zone, date code from corelib/tools/ 2019-06-06 15:54:32 +02:00