qt5base-lts/src/testlib
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
..
3rdparty Update 3rdparty valgrind headers to Valgrind 3.14.0 2018-10-17 11:26:08 +00:00
doc doc: Add dontdocument.qdoc files 2019-05-07 16:58:09 +02:00
configure.json Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qabstractitemmodeltester.cpp Fix ICE on QNX 6.6 2018-10-05 11:30:42 +00:00
qabstractitemmodeltester.h Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qabstracttestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qabstracttestlogger.cpp testlib: Feed test log messages to Apple Unified Logging 2018-03-09 16:31:53 +00:00
qappletestlogger_p.h Apple test logger: Handle test log messages without a context 2019-03-26 19:15:26 +00:00
qappletestlogger.cpp Apple test logger: Handle test log messages without a context 2019-03-26 19:15:26 +00:00
qasciikey.cpp
qbenchmark_p.h Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qbenchmark.cpp Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qbenchmark.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkevent_p.h Widen out parameter "result" of the native event filters for Qt 6 2019-03-22 16:19:48 +00:00
qbenchmarkevent.cpp Widen out parameter "result" of the native event filters for Qt 6 2019-03-22 16:19:48 +00:00
qbenchmarkmeasurement_p.h Testlib: Move classes inheriting QBenchmarkMeasurerBase to separate header 2016-10-19 06:21:51 +00:00
qbenchmarkmeasurement.cpp Testlib: Move classes inheriting QBenchmarkMeasurerBase to separate header 2016-10-19 06:21:51 +00:00
qbenchmarkmetric_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkmetric.cpp Fix build for Android with android-clang in r17 2018-06-06 11:36:33 +00:00
qbenchmarkmetric.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkperfevents_p.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qbenchmarkperfevents.cpp doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
qbenchmarktimemeasurers_p.h QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qbenchmarkvalgrind_p.h Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qbenchmarkvalgrind.cpp Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qcsvbenchmarklogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qcsvbenchmarklogger.cpp
qplaintestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qplaintestlogger.cpp testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
qsignaldumper_p.h
qsignaldumper.cpp Test QTest's signal dumper 2019-03-27 08:56:09 +00:00
qsignalspy.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qsignalspy.qdoc QtGui/Network/OpenGl/Widgets/Xml: use \nullptr in documentation 2019-02-20 18:58:58 +00:00
Qt5TestConfigExtras.cmake.in Fix QFINDTESTDATA when using cmake ninja generator 2016-03-19 13:44:21 +00:00
qtaptestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qtaptestlogger.cpp Remove QLatin1Literal usages 2019-06-10 16:50:31 +00:00
qteamcitylogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qteamcitylogger.cpp Replace qMove with std::move 2019-04-06 11:00:38 +00:00
qtest_gui.h doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
qtest_network.h doc: fix signatures and missing module headers 2017-12-14 13:37:51 +00:00
qtest_widgets.h
qtest.h Optimize QTimer::singleShot(0, ...) when taking PMF or Functor callable 2019-04-06 21:16:56 +00:00
qtestaccessible.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestassert.h Fix modernize-use-bool-literals issues 2017-07-08 11:49:55 +00:00
qtestblacklist_p.h Bring QTestPrivate::checkBlackLists() back 2018-10-15 17:30:57 +00:00
qtestblacklist.cpp Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-22 01:00:27 +01:00
qtestcase.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qtestcase.h Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
qtestcase.qdoc Merge remote-tracking branch 'origin/5.12.1' into 5.12 2019-01-23 10:13:29 +01:00
qtestcoreelement_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qtestcorelist_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qtestdata.cpp
qtestdata.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestelement_p.h
qtestelement.cpp
qtestelementattribute_p.h
qtestelementattribute.cpp
qtestevent.h Fix win32-clang-msvc build due to -Werror,-Wunused-private-field 2018-03-23 15:16:01 +00:00
qtestevent.qdoc Doc: Fix linking errors qtbase 2019-01-03 09:45:23 +00:00
qtesteventloop.h testlib: Mark unused member variable for future removal 2018-06-05 06:00:32 +00:00
qtesthelpers_p.h testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qtestkeyboard.h qtlite: Fix build the source code with -no-feature-shortcut 2019-02-25 12:20:36 +00:00
qtestlog_p.h testlib: Prevent Apple test logger from stomping on other loggers 2019-03-05 22:29:57 +00:00
qtestlog.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qtestmouse.cpp Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestmouse.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestresult_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestresult.cpp testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
qtestspontaneevent.h
qtestsystem.h testlib: Move qtestsystem helpers to their respective modules 2018-07-16 15:30:30 +00:00
qtesttable_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtesttable.cpp QtTest: compile in C++17 mode: no more std::unary_function 2018-05-15 17:07:04 +00:00
qtesttouch.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestutil_macos_p.h QTestLib: Disable App Nap on macOS 2017-08-22 05:10:43 +00:00
qtestutil_macos.mm QTestLib: Disable App Nap on macOS 2017-08-22 05:10:43 +00:00
qtestxunitstreamer_p.h
qtestxunitstreamer.cpp
qttestglobal.h Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00
qxctestlogger_p.h Clean up our Objective-C usage 2018-02-20 10:02:12 +00:00
qxctestlogger.mm Clean up our Objective-C usage 2018-02-20 10:02:12 +00:00
qxmltestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qxmltestlogger.cpp testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
qxunittestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qxunittestlogger.cpp testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
selfcover.pri Add a feature to enable CodeCoverage analysis of testlib 2019-01-24 15:51:13 +00:00
testlib.pro Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00