summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp')
-rw-r--r--src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp b/src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp
index 451a6465d0..d5e16c6f49 100644
--- a/src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp
+++ b/src/plugins/clangcodemodel/clanghighlightingresultreporter.cpp
@@ -50,6 +50,8 @@ TextEditor::TextStyle toTextStyle(ClangBackEnd::HighlightingType type)
return TextEditor::C_PRIMITIVE_TYPE;
case HighlightingType::LocalVariable:
return TextEditor::C_LOCAL;
+ case HighlightingType::Parameter:
+ return TextEditor::C_PARAMETER;
case HighlightingType::Field:
case HighlightingType::QtProperty:
return TextEditor::C_FIELD;