qt5base-lts/tests/auto/corelib/global
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
..
q_func_info Updated license headers 2016-01-21 18:55:18 +00:00
qflags Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qfloat16 Correct handling of -qfloat16(0) 2019-10-03 16:30:40 +02:00
qgetputenv QByteArray: toInt() and toDouble() ignore surrounding whitespaces 2018-07-07 19:58:18 +00:00
qglobal Don't wrap feature detection macros with QT_HAS_FOO() variants 2019-12-10 00:48:07 +01:00
qglobalstatic Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qhooks tst_qhooks: test that it's possible to chain multiple hooks together 2016-11-18 15:22:32 +00:00
qlogging Conditionally disable parts of the tests testing the deprecated APIs 2019-08-01 13:51:18 +02:00
qnumeric Make tst_QNumeric more systematic about checking float as well as double 2019-10-29 16:46:54 +01:00
qrand Updated license headers 2016-01-21 18:55:18 +00:00
qrandomgenerator Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-30 14:43:02 +02:00
qtendian qendian: Fix float conversions 2018-10-28 22:26:56 +00:00
qwinregistry Win32: Consolidate registry code 2019-10-14 20:26:42 +02:00
global.pro Win32: Consolidate registry code 2019-10-14 20:26:42 +02:00