ClangCodeModel: Fix another false positive

... in in output argument highlighting.

Fixes: QTCREATORBUG-27368
Change-Id: I7549fd5c69bfebd0eeda24760d3bf96f2e652c43
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-04-12 12:51:54 +02:00
parent 41daf979c5
commit 9146ce4625

View File

@@ -2757,6 +2757,8 @@ static void semanticHighlighter(QFutureInterface<HighlightingResult> &future,
if (it->kind() == "Lambda") if (it->kind() == "Lambda")
return false; return false;
if (it->kind() == "BinaryOperator")
return false;
if (it->hasConstType()) if (it->hasConstType())
return false; return false;