diff --git a/src/tools/clangbackend/ipcsource/projectpartsdonotexistexception.h b/src/tools/clangbackend/ipcsource/projectpartsdonotexistexception.h index 2b5b1088282..dd7f3780589 100644 --- a/src/tools/clangbackend/ipcsource/projectpartsdonotexistexception.h +++ b/src/tools/clangbackend/ipcsource/projectpartsdonotexistexception.h @@ -40,12 +40,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~ProjectPartDoNotExistException() noexcept {} -# endif -#endif - private: Utf8StringVector projectPartIds_; mutable Utf8String what_; diff --git a/src/tools/clangbackend/ipcsource/translationunitalreadyexistsexception.h b/src/tools/clangbackend/ipcsource/translationunitalreadyexistsexception.h index 0db693dc0e4..5eff1188c04 100644 --- a/src/tools/clangbackend/ipcsource/translationunitalreadyexistsexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitalreadyexistsexception.h @@ -39,12 +39,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitAlreadyExistsException() noexcept {} -# endif -#endif - private: FileContainer fileContainer_; mutable Utf8String what_; diff --git a/src/tools/clangbackend/ipcsource/translationunitdoesnotexistexception.h b/src/tools/clangbackend/ipcsource/translationunitdoesnotexistexception.h index f4943d9a1c8..9b343f6a554 100644 --- a/src/tools/clangbackend/ipcsource/translationunitdoesnotexistexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitdoesnotexistexception.h @@ -39,12 +39,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitDoesNotExistException() noexcept {} -# endif -#endif - private: FileContainer fileContainer_; mutable Utf8String what_; diff --git a/src/tools/clangbackend/ipcsource/translationunitfilenotexitexception.h b/src/tools/clangbackend/ipcsource/translationunitfilenotexitexception.h index 9081f3757e6..313ee030b9b 100644 --- a/src/tools/clangbackend/ipcsource/translationunitfilenotexitexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitfilenotexitexception.h @@ -40,12 +40,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitFileNotExitsException() noexcept {} -# endif -#endif - private: Utf8String filePath_; mutable Utf8String what_; diff --git a/src/tools/clangbackend/ipcsource/translationunitisnullexception.h b/src/tools/clangbackend/ipcsource/translationunitisnullexception.h index c64c53369e7..904f5caf21f 100644 --- a/src/tools/clangbackend/ipcsource/translationunitisnullexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitisnullexception.h @@ -35,12 +35,6 @@ class TranslationUnitIsNullException : public std::exception { public: const char *what() const Q_DECL_NOEXCEPT override; - -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitIsNullException() noexcept {} -# endif -#endif }; } // namespace ClangBackEnd diff --git a/src/tools/clangbackend/ipcsource/translationunitparseerrorexception.h b/src/tools/clangbackend/ipcsource/translationunitparseerrorexception.h index 928a467b6a0..bd20fde957b 100644 --- a/src/tools/clangbackend/ipcsource/translationunitparseerrorexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitparseerrorexception.h @@ -45,12 +45,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitParseErrorException() noexcept {} -# endif -#endif - private: Utf8String filePath_; Utf8String projectPartId_; diff --git a/src/tools/clangbackend/ipcsource/translationunitreparseerrorexception.h b/src/tools/clangbackend/ipcsource/translationunitreparseerrorexception.h index 126a24c7e9e..a9446dd3218 100644 --- a/src/tools/clangbackend/ipcsource/translationunitreparseerrorexception.h +++ b/src/tools/clangbackend/ipcsource/translationunitreparseerrorexception.h @@ -45,12 +45,6 @@ public: const char *what() const Q_DECL_NOEXCEPT override; -#if defined(__GNUC__) && !defined(__clang__) -# if !__GNUC_PREREQ(4,8) - ~TranslationUnitReparseErrorException() noexcept {} -# endif -#endif - private: Utf8String filePath_; Utf8String projectPartId_;