diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp index 16c20647eb9..f30c18aa7f6 100644 --- a/src/plugins/clangcodemodel/clangdclient.cpp +++ b/src/plugins/clangcodemodel/clangdclient.cpp @@ -2714,6 +2714,8 @@ static void semanticHighlighter(QFutureInterface &future, // the call happens, and should not be highlighted as an output argument. // If the call is not fully resolved (as in templates), we don't // know whether the argument is passed as const or not. + if (it->arcanaContains("dependent type")) + return false; const QList children = it->children().value_or(QList()); return children.isEmpty() || (children.first().range() != (it - 1)->range()