From 9146ce4625e2599fbcb3aa03b2b2b1bb67dd7e64 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 12 Apr 2022 12:51:54 +0200 Subject: [PATCH] ClangCodeModel: Fix another false positive ... in in output argument highlighting. Fixes: QTCREATORBUG-27368 Change-Id: I7549fd5c69bfebd0eeda24760d3bf96f2e652c43 Reviewed-by: Reviewed-by: Qt CI Bot Reviewed-by: David Schulz --- src/plugins/clangcodemodel/clangdclient.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp index 5ce913a5a3a..16c20647eb9 100644 --- a/src/plugins/clangcodemodel/clangdclient.cpp +++ b/src/plugins/clangcodemodel/clangdclient.cpp @@ -2757,6 +2757,8 @@ static void semanticHighlighter(QFutureInterface &future, if (it->kind() == "Lambda") return false; + if (it->kind() == "BinaryOperator") + return false; if (it->hasConstType()) return false;