Commit a6014c10 authored by David Schulz's avatar David Schulz

CppEditor: Fix isValidAsciiIdentifierChar.

Task-number: QTCREATORBUG-13012
Change-Id: I70d45dcdc72408d46bea0b78746ab28c17f3b9e3
Reviewed-by: default avatarNikolai Kosjar <>
parent 9d3ed028
......@@ -117,7 +117,7 @@ bool isOwnershipRAIIType(CPlusPlus::Symbol *symbol, const LookupContext &context
bool isValidAsciiIdentifierChar(const QChar &ch)
return ch.isLetterOrNumber() || ch == QLatin1Char(' ');
return ch.isLetterOrNumber() || ch == QLatin1Char('_');
bool isValidFirstIdentifierChar(const QChar &ch)
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