diff options
author | David Schulz <[email protected]> | 2016-05-26 10:43:25 +0200 |
---|---|---|
committer | David Schulz <[email protected]> | 2016-05-26 11:03:56 +0000 |
commit | 179153829a7bf2d72ffa290b2e1da4bdb58eea90 (patch) | |
tree | 4f8bab986a8c6f639e34ea60842ee4e32e6b0cda /src/libs/cplusplus | |
parent | be0b7f0605ee7ffadb5b5dedc929eeff4174ea2d (diff) |
CPP: Remove unused function.
Change-Id: Ib55fd0c059b2e5e117250eb4671b3352ab41b310
Reviewed-by: Nikita Baryshnikov <[email protected]>
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/libs/cplusplus')
-rw-r--r-- | src/libs/cplusplus/MatchingText.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libs/cplusplus/MatchingText.cpp b/src/libs/cplusplus/MatchingText.cpp index 3ae71bea181..e4266653f94 100644 --- a/src/libs/cplusplus/MatchingText.cpp +++ b/src/libs/cplusplus/MatchingText.cpp @@ -62,19 +62,6 @@ static bool isCompleteStringLiteral(const BackwardsScanner &tk, int index) return false; } -static bool isCompleteCharLiteral(const BackwardsScanner &tk, int index) -{ - const QStringRef text = tk.textRef(index); - - if (text.length() < 2) - return false; - - else if (text.at(text.length() - 1) == QLatin1Char('\'')) - return text.at(text.length() - 2) != QLatin1Char('\\'); // ### not exactly. - - return false; -} - static bool isEscaped(const QTextCursor &tc) { const QTextDocument *doc = tc.document(); |