forked from qt-creator/qt-creator
ClangBackEnd: Support highlighting of alias templates
Fixes: QTCREATORBUG-24552 Change-Id: I80d2b16114234cf896173cd4104e6a5f12009f69 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -317,6 +317,7 @@ void TokenInfo::typeKind(const Cursor &cursor)
|
||||
m_types.mixinHighlightingTypes.push_back(HighlightingType::Namespace);
|
||||
return;
|
||||
case CXCursor_TypeAliasDecl:
|
||||
case CXCursor_TypeAliasTemplateDecl:
|
||||
m_types.mixinHighlightingTypes.push_back(HighlightingType::TypeAlias);
|
||||
return;
|
||||
case CXCursor_TypedefDecl:
|
||||
|
||||
Reference in New Issue
Block a user