aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2022-04-12 12:51:54 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2022-04-14 09:56:46 +0000
commit9146ce4625e2599fbcb3aa03b2b2b1bb67dd7e64 (patch)
treee165dc35629ab89f81ad9d27963333e04d475069
parent41daf979c552232c380118e49d2dcaa934db13ea (diff)
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>
-rw-r--r--src/plugins/clangcodemodel/clangdclient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp
index 5ce913a5a3..16c20647eb 100644
--- a/src/plugins/clangcodemodel/clangdclient.cpp
+++ b/src/plugins/clangcodemodel/clangdclient.cpp
@@ -2757,6 +2757,8 @@ static void semanticHighlighter(QFutureInterface<HighlightingResult> &future,
if (it->kind() == "Lambda")
return false;
+ if (it->kind() == "BinaryOperator")
+ return false;
if (it->hasConstType())
return false;