diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-05-11 17:26:49 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-05-29 18:47:13 +0000 |
commit | a7adf3ea1dd5998685bbfa709bb3d6700a3ff9c3 (patch) | |
tree | 9a9456e7582d352ac5669e6acc7b23c73d24ba9b /src/corelib | |
parent | 54ef249cc661ebaf0cdd7e5c54ce644a8a23352f (diff) |
Remove the Clang __has_feature(cxx_exceptions) check
The check in qglobal.h for __EXCEPTIONS is enough. This check here was
causing moc to define QT_NO_EXCEPTIONS
Change-Id: Id69569111e7d4e619e22ffff144daa661df4181d
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qcompilerdetection.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 04f2084591..2c2f424319 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -650,11 +650,6 @@ /* General C++ features */ # define Q_COMPILER_RESTRICTED_VLA # define Q_COMPILER_THREADSAFE_STATICS -# if !__has_feature(cxx_exceptions) -# ifndef QT_NO_EXCEPTIONS -# define QT_NO_EXCEPTIONS -# endif -# endif # if !__has_feature(cxx_rtti) # define QT_NO_RTTI # endif |