forked from qt-creator/qt-creator
Clang: Simplify name and type in FullTokenInfo for functions
Take Cursor displayName instead of token name. From now on type spelling can serve the return type role for functions because together with 'token' member they form the full type. Change-Id: Ic8eec533f4a11458f99f070b6a6aa80714097b4d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -77,7 +77,6 @@ QDebug operator<<(QDebug debug, const ExtraInfo &extraInfo)
|
||||
debug.nospace() << "ExtraInfo("
|
||||
<< extraInfo.token << ", "
|
||||
<< extraInfo.typeSpelling << ", "
|
||||
<< extraInfo.resultTypeSpelling << ", "
|
||||
<< extraInfo.semanticParentTypeSpelling << ", "
|
||||
<< extraInfo.cursorRange << ", "
|
||||
<< extraInfo.lexicalParentIndex << ", "
|
||||
|
||||
Reference in New Issue
Block a user