Split Q_COMPILER_DEFAULT_DELETE_MEMBERS
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 14 May 2012 07:22:40 +0000 (09:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 May 2012 02:57:05 +0000 (04:57 +0200)
commite1cee9222df8e078587a8539e40ce9a8ef914093
tree5024bda26e7f820696de73c8be1992768aa4a845
parent3976339ca9b12c7eddbc69ed3a31f85ce845ba63
Split Q_COMPILER_DEFAULT_DELETE_MEMBERS

Based on reviewer comments on
https://codereview.qt-project.org/#change,25992, split
Q_COMPILER_DEFAULT_DELETE_MEMBERS into
Q_COMPILER_DEFAULT_MEMBERS and Q_COMPILER_DELETE_MEMBERS. Clang provides
2 separate feature checks for these, all other compilers always define
both.

Keep the Q_COMPILER_DEFAULT_DELETE_MEMBERS define, though, for any
existing code that may be using it.

Change-Id: I8969e10989c776a822da153152cfecb99dda8cb9
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/global/qcompilerdetection.h
src/corelib/thread/qbasicatomic.h