forked from qt-creator/qt-creator
ClangCodeModel: Modernize
Change-Id: Ie001a2d8ed9c82ac5fedf8e59bd56d7bbdddf919 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -233,8 +233,8 @@ bool OverviewModel::isGenerated(const QModelIndex &) const
|
||||
auto item = static_cast<TokenTreeItem *>(itemForIndex(sourceIndex));
|
||||
if (!item)
|
||||
return {};
|
||||
return ::Utils::LineColumn(static_cast<int>(item->token.line),
|
||||
static_cast<int>(item->token.column));
|
||||
return {static_cast<int>(item->token.line),
|
||||
static_cast<int>(item->token.column)};
|
||||
}
|
||||
|
||||
OverviewModel::Range OverviewModel::rangeFromIndex(const QModelIndex &sourceIndex) const
|
||||
|
||||
Reference in New Issue
Block a user