qt5base-lts/tests/benchmarks/corelib
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
..
codecs Updated license headers 2016-01-21 18:55:18 +00:00
io Win: qdiriterator bench: fix missing null-terminator issues 2019-07-10 07:18:05 +00:00
json Updated license headers 2016-01-21 18:55:18 +00:00
kernel Optimize QTimer::singleShot(0, ...) when taking PMF or Functor callable 2019-04-06 21:16:56 +00:00
mimetypes Use a std::vector instead of a QVector in QMimeDatabasePrivate 2018-09-29 14:22:18 +00:00
plugin tst_bench_QUuid: eliminate an unused variable 2018-06-14 09:15:06 +00:00
text Re-apply 'Skip old benchmark that doesn't build automatically' 2019-07-24 07:45:59 +03:00
thread Don't wrap feature detection macros with QT_HAS_FOO() variants 2019-12-10 00:48:07 +01:00
time Extend QDate's benchmark 2019-08-30 11:22:07 +02:00
tools Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00