forked from qt-creator/qt-creator
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:
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
Reference in New Issue
Block a user