qt5base-lts/tests/auto/corelib/tools
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
..
collections Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-30 14:43:02 +02:00
containerapisymmetry Don't wrap feature detection macros with QT_HAS_FOO() variants 2019-12-10 00:48:07 +01:00
qalgorithms Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
qarraydata Q_ARRAY_LITERAL: protect the check for literal types 2019-07-06 19:07:04 +00:00
qarraydata_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qbitarray QBitArray: fix fromBits() and actually test it 2019-08-08 20:27:04 -07:00
qcache Updated license headers 2016-01-21 18:55:18 +00:00
qcommandlineparser Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +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 Fix QEasingCurve possible imprecision at endpoints 2019-10-11 12:29:27 +02: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 Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
qhash_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qhashfunctions qhashfunctions.h: add specializations of std::hash for some Qt types 2019-05-29 11:22:20 +02:00
qline Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
qlinkedlist QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qlist QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qlist_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01: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 Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
qmap_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmargins Updated license headers 2016-01-21 18:55:18 +00:00
qmessageauthenticationcode Updated license headers 2016-01-21 18:55:18 +00:00
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 QPoint/F: add transposed() 2019-08-07 23:09:06 +03:00
qpointf QPoint/F: add transposed() 2019-08-07 23:09:06 +03:00
qqueue Updated license headers 2016-01-21 18:55:18 +00:00
qrect Improve rounding of QRect::toRect 2017-06-26 21:35:38 +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 tst_QScopeGuard: Remove unused lambda capture 2019-11-19 18:33:43 +02:00
qset QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qsharedpointer Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
qsize Long live QSize(F)::grownBy/shrunkBy() 2019-08-22 11:38:54 +02:00
qsizef Long live QSize(F)::grownBy/shrunkBy() 2019-08-22 11:38:54 +02:00
qstl Updated license headers 2016-01-21 18:55:18 +00:00
qtimeline Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qvarlengtharray QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qvector QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qvector_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qversionnumber Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
tools.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00