forked from qt-creator/qt-creator
ClangCodeModel: Fix compiler warning
Change-Id: I68648ffe4ae3aa8bdfdf2706c1a65eb2269eaa1f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -258,7 +258,7 @@ void doSemanticHighlighting(
|
|||||||
};
|
};
|
||||||
|
|
||||||
const std::function<HighlightingResult(const ExpandedSemanticToken &)> toResult
|
const std::function<HighlightingResult(const ExpandedSemanticToken &)> toResult
|
||||||
= [&ast, &isOutputParameter, &clangdVersion, &tokenRange]
|
= [&ast, &isOutputParameter, &tokenRange]
|
||||||
(const ExpandedSemanticToken &token) {
|
(const ExpandedSemanticToken &token) {
|
||||||
TextStyles styles;
|
TextStyles styles;
|
||||||
if (token.type == "variable") {
|
if (token.type == "variable") {
|
||||||
|
|||||||
Reference in New Issue
Block a user