Revert "Cmb: Workaround for gcc 4.7 bug"

This reverts commmit e2d60fdcc3 because we
require "g++ 4.8 or later" nowadays.

Change-Id: I1ce7b37bbf8c73ce4466a35b36fd66e680339fe9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Nikolai Kosjar
2016-08-18 12:27:08 +02:00
parent a8adff6afb
commit ac0a852f90
7 changed files with 0 additions and 42 deletions

View File

@@ -40,12 +40,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~ProjectPartDoNotExistException() noexcept {}
# endif
#endif
private: private:
Utf8StringVector projectPartIds_; Utf8StringVector projectPartIds_;
mutable Utf8String what_; mutable Utf8String what_;

View File

@@ -39,12 +39,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitAlreadyExistsException() noexcept {}
# endif
#endif
private: private:
FileContainer fileContainer_; FileContainer fileContainer_;
mutable Utf8String what_; mutable Utf8String what_;

View File

@@ -39,12 +39,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitDoesNotExistException() noexcept {}
# endif
#endif
private: private:
FileContainer fileContainer_; FileContainer fileContainer_;
mutable Utf8String what_; mutable Utf8String what_;

View File

@@ -40,12 +40,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitFileNotExitsException() noexcept {}
# endif
#endif
private: private:
Utf8String filePath_; Utf8String filePath_;
mutable Utf8String what_; mutable Utf8String what_;

View File

@@ -35,12 +35,6 @@ class TranslationUnitIsNullException : public std::exception
{ {
public: public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitIsNullException() noexcept {}
# endif
#endif
}; };
} // namespace ClangBackEnd } // namespace ClangBackEnd

View File

@@ -45,12 +45,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitParseErrorException() noexcept {}
# endif
#endif
private: private:
Utf8String filePath_; Utf8String filePath_;
Utf8String projectPartId_; Utf8String projectPartId_;

View File

@@ -45,12 +45,6 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8)
~TranslationUnitReparseErrorException() noexcept {}
# endif
#endif
private: private:
Utf8String filePath_; Utf8String filePath_;
Utf8String projectPartId_; Utf8String projectPartId_;