forked from qt-creator/qt-creator
Clang: Add highlighting types for ObjectiveC
Builtin code model supports ObjectiveC classes, properties, etc. We can easily get the same information from clang. Change-Id: Iede5e177d4932f404e4ccb81ae356eee8faffb71 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -501,6 +501,13 @@ static const char *highlightingTypeToCStringLiteral(HighlightingType type)
|
||||
RETURN_TEXT_FOR_CASE(TypeAlias);
|
||||
RETURN_TEXT_FOR_CASE(Typedef);
|
||||
RETURN_TEXT_FOR_CASE(QtProperty);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCClass);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCCategory);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCProtocol);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCInterface);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCImplementation);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCProperty);
|
||||
RETURN_TEXT_FOR_CASE(ObjectiveCMethod);
|
||||
}
|
||||
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user