Commit 17915382 authored by David Schulz's avatar David Schulz

CPP: Remove unused function.

Change-Id: Ib55fd0c059b2e5e117250eb4671b3352ab41b310
Reviewed-by: default avatarNikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent be0b7f06
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment