qt5base-lts/tests/auto/other
Marc Mutz 2a6bea7a55 qcompilerdetection.h: retract Q_COMPILER_DEFAULT_MEMBERS for MSVC < 2015
Earlier versions of the compiler cannot default
move special member functions, even though we
also define Q_COMPILER_RVALUE_REFS for them.

Fix by retracting the less-often-used of the
two compiler feature defines.

Q_COMPILER_DEFAULT_MEMBERS is not used outside
QtBase in neither 5.6 nor 5.7 (5.8 is not
released at this time, so wasn't considered).
The same is true of the dependent macros
Q_COMPILER_DEFAULT_DELETE_MEMBERS and
Q_DECL_EQ_DEFAULT.

In QtBase, the three uses are:
1. in QAtomic*, where the user also requires
   Q_COMPILER_CONSTEXPR, which is not defined
   for any MSVC at this time,
2. for QEnableSharedFromThis, which is a class
   template with an alternative {} implementa-
   tion of the default constructor, and uncon-
   ditional user-defined copy special member
   functions.
3. The test of the corresponding functionality
   in tst_compiler, which this commit amends.

That means that neither of these two only uses
of the macro in Qt libraries are affected by
the change.

The reason we do this change, then, is that in
the future, we want to be able to more easily
restore move special member functions for
classes for which they are suppressed due to
user-defined dtors or copy special member
functions.

Change-Id: I6f88cad66d6b87a758231f16355c3bddae697b86
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-09-03 05:11:40 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
atwrapper Update copyright headers 2015-02-11 06:49:51 +00:00
compiler qcompilerdetection.h: retract Q_COMPILER_DEFAULT_MEMBERS for MSVC < 2015 2016-09-03 05:11:40 +00:00
gestures Autotest: Enable make check on rhel 7.1 2016-02-11 05:47:38 +00:00
lancelot Remove unneeded dependency on Qt widgets 2016-08-15 08:40:54 +00:00
languagechange Tests: Always verify whether QTemporaryDir/File creation succeeded. 2015-09-28 15:05:43 +00:00
macgui don't rely on transitive dependencies 2016-01-08 18:51:02 +00:00
macnativeevents Fix OS X 10.11 (Xcode 7.1) build issues due to strongly typed enums 2015-11-16 14:26:43 +00:00
macplist Update copyright headers 2015-02-11 06:49:51 +00:00
modeltest Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
networkselftest Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
qaccessibility Merge remote-tracking branch 'origin/5.5' into 5.6 2015-08-26 20:06:57 +02:00
qaccessibilitylinux Enable tst_qaccessibilitylinux 2015-09-26 00:50:44 +00:00
qaccessibilitymac Fix OS X 10.11 (Xcode 7.1) build issues due to strongly typed enums 2015-11-16 14:26:43 +00:00
qcomplextext Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
qfocusevent Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkaccessmanager_and_qprogressdialog Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectperformance Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectrace Fix for race condition in signal activation 2016-07-29 06:09:22 +00:00
qprocess_and_guieventloop tst_QProcess_and_GuiEventLoop: Added flag QT_NO_PROCESS 2015-09-09 07:15:15 +00:00
qsharedpointer_and_qwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qtokenautomaton Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant_common Update copyright headers 2015-02-11 06:49:51 +00:00
toolsupport Enable a test for QFilePrivate::fileName offset on 32 bit Linux 2015-12-23 14:36:15 +00:00
windowsmobile Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
other.pro Fix tests for build with -no-gui 2016-03-23 06:52:46 +00:00