forked from qt-creator/qt-creator
Clang: Add output argument highlighting
This adds a mix-in for writable functions arguments. Change-Id: I758f7fef77d992ea25395db550571ccb081fd5fd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Nikolai Kosjar
parent
9d55d8485c
commit
63ae993bf2
@@ -60,6 +60,8 @@ TextEditor::TextStyle toTextStyle(ClangBackEnd::HighlightingType type)
|
||||
return TextEditor::C_PREPROCESSOR;
|
||||
case HighlightingType::Declaration:
|
||||
return TextEditor::C_DECLARATION;
|
||||
case HighlightingType::OutputArgument:
|
||||
return TextEditor::C_OUTPUT_ARGUMENT;
|
||||
default:
|
||||
return TextEditor::C_TEXT; // never called
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user