diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2012-10-15 12:58:51 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-10-15 13:06:56 +0200 |
commit | 52bf349bf3395fa99af522431592d90ed6ffad55 (patch) | |
tree | 9bba94bfeb46daa88ca8e41ae4630b1bfbc6bff4 /src/libs/cplusplus/MatchingText.cpp | |
parent | c120086726645bc74563ca74a15f111b3455a576 (diff) | |
download | qt-creator-52bf349bf3395fa99af522431592d90ed6ffad55.tar.gz |
CplusPlus: Remove pragma suppressing gcc warning.
The respective warning was provoked by Qt code, which has been fixed and
no longer causes that problem.
Change-Id: I1b9efc2e6f9d2af7719d4c921f37f8335c351bfe
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/libs/cplusplus/MatchingText.cpp')
-rw-r--r-- | src/libs/cplusplus/MatchingText.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libs/cplusplus/MatchingText.cpp b/src/libs/cplusplus/MatchingText.cpp index 14700cf108..ddea691375 100644 --- a/src/libs/cplusplus/MatchingText.cpp +++ b/src/libs/cplusplus/MatchingText.cpp @@ -52,15 +52,6 @@ static bool shouldOverrideChar(QChar ch) } } -// disable gcc warning: -// -// qstring.h:1175:39: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false -// -// caused by Q_ASSERT in QStringRef::at() -#if defined(Q_CC_GNU) && !defined(Q_CC_INTEL) -# pragma GCC diagnostic ignored "-Wstrict-overflow" -#endif - static bool isCompleteStringLiteral(const BackwardsScanner &tk, int index) { const QStringRef text = tk.textRef(index); |