forked from qt-creator/qt-creator
ClangCodeModel: Fix erroneous marking of lambda parameter
... as output argument when using clangd. Change-Id: I35ef2da235cb317bb7eb1f08b865ea62c27d3b76 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -2453,6 +2453,8 @@ static void semanticHighlighter(QFutureInterface<HighlightingResult> &future,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (it->kind() == "Lambda")
|
||||
return false;
|
||||
if (it->kind().endsWith("Cast") && it->hasConstType())
|
||||
return false;
|
||||
if (it->kind() == "Member" && it->arcanaContains("(")
|
||||
|
||||
Reference in New Issue
Block a user