qt5base-lts/tests/auto/corelib/thread
Tor Arne Vestbø c3bd5ffdc8 Don't wrap feature detection macros with QT_HAS_FOO() variants
Using wrappers for these macros is problematic when for example passing the
-frewrite-includes flag to preprocess sources before shipping off to distcc
or Icecream. It will also start producing warnings when compilers implement
http://eel.is/c++draft/cpp.cond#7.sentence-2. See for example
https://reviews.llvm.org/D49091

Both https://clang.llvm.org/docs/LanguageExtensions.html and the SD-6 document at
https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
recommend defining '__has_foo(x) 0' as a fallback for compilers without the
macros, so that's what we go for.

Change-Id: I0298cd3b4a6ff6618821e34642a5ddd6728be767
Reviewed-by: Alex Richardson <arichardson.kde@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-12-10 00:48:07 +01:00
..
qatomicint Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qatomicinteger Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qatomicpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfuture Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
qfuturesynchronizer Drop unnecessary dependencies from some tests 2017-01-10 16:34:52 +00:00
qfuturewatcher Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
qmutex Don't wrap feature detection macros with QT_HAS_FOO() variants 2019-12-10 00:48:07 +01:00
qmutexlocker Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
qreadlocker Updated license headers 2016-01-21 18:55:18 +00:00
qreadwritelock Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qresultstore Fix UB in QFutureInterface: invalid casts from ResultStoreBase to ResultStore<> 2017-03-06 18:32:28 +00:00
qsemaphore Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qthread Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qthreadonce Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
qthreadpool Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qthreadstorage Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qwaitcondition unblacklist passing tests 2019-07-08 11:01:42 +00:00
qwritelocker Updated license headers 2016-01-21 18:55:18 +00:00
thread.pro Re-enable thread autotests 2018-09-25 22:35:40 +00:00