qt5base-lts/tests/auto/corelib/serialization
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
..
json Fix removal of QJsonObject properties when assigning undefined 2019-07-30 11:08:24 +02:00
qcborstreamreader Fix QCborStreamReader not flushing QIODevices due to internal buffering 2019-07-19 12:31:42 -07:00
qcborstreamwriter Long live QCborStreamWriter! 2018-05-27 22:41:41 +00:00
qcborvalue Don't wrap feature detection macros with QT_HAS_FOO() variants 2019-12-10 00:48:07 +01:00
qcborvalue_json QCborValue: move the toDiagnosticNotation() function to its own file 2018-07-30 16:21:12 +00:00
qdatastream Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
qdatastream_core_pixmap Tidy up data-stream test 2019-10-25 11:44:13 +02:00
qtextstream Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qxmlstream Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
serialization.pro Exclude tests that need GUI when GUI isn't available 2019-10-25 11:42:09 +02:00