forked from qt-creator/qt-creator
Clang: Properly handle Q_PROPERTY in TokenInfo
Transform Q_PROPERTY into unique AST node. Mark different parts with types and search for parent in FullTokenInfos. Change-Id: Iaa1ec0c73d34773edf5605d3682bd6a290d195de Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -59,6 +59,7 @@ static const char *highlightingTypeToCStringLiteral(HighlightingType type)
|
||||
RETURN_TEXT_FOR_CASE(Union);
|
||||
RETURN_TEXT_FOR_CASE(TypeAlias);
|
||||
RETURN_TEXT_FOR_CASE(Typedef);
|
||||
RETURN_TEXT_FOR_CASE(QtProperty);
|
||||
default: return "UnhandledHighlightingType";
|
||||
}
|
||||
}
|
||||
@@ -79,7 +80,6 @@ QDebug operator<<(QDebug debug, const ExtraInfo &extraInfo)
|
||||
<< extraInfo.definition << ", "
|
||||
<< extraInfo.signal << ", "
|
||||
<< extraInfo.slot << ", "
|
||||
<< extraInfo.property
|
||||
<< ")";
|
||||
return debug;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user