forked from qt-creator/qt-creator
ClangCodeModel: Fix highlighting of user-defined string literals
... with clangd. Task-number: QTCREATORBUG-26425 Change-Id: I805ed5a68a990528ef20dcac015591a2a600066b Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -3006,6 +3006,8 @@ void ExtraHighlightingResultsCollector::setResultPosFromRange(HighlightingResult
|
||||
|
||||
void ExtraHighlightingResultsCollector::collectFromNode(const AstNode &node)
|
||||
{
|
||||
if (node.kind() == "UserDefinedLiteral")
|
||||
return;
|
||||
if (node.kind().endsWith("Literal")) {
|
||||
HighlightingResult result;
|
||||
result.useTextSyles = true;
|
||||
|
Reference in New Issue
Block a user