CPlusPlus: Drop the OverView::operator() overloads

Use the named members instead. The operator() versions have been used
only in a handful places, not using them makes things clearer on the
user code side.

Change-Id: I9b44371e094d498ff6ebfa9ecbe32f8654a63d4d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2022-06-27 11:31:36 +02:00
parent 96caffb8cf
commit 56eba24222
4 changed files with 9 additions and 18 deletions

View File

@@ -1079,13 +1079,13 @@ ClassOrNamespace *ResolveExpression::baseExpression(const QList<LookupItem> &bas
if (Q_UNLIKELY(debug)) {
qDebug("trying result #%d", ++i);
qDebug() << "- before typedef resolving we have:" << oo(ty);
qDebug() << "- before typedef resolving we have:" << oo.prettyType(ty);
}
typedefsResolver.resolve(&ty, &scope, r.binding());
if (Q_UNLIKELY(debug))
qDebug() << "- after typedef resolving:" << oo(ty);
qDebug() << "- after typedef resolving:" << oo.prettyType(ty);
if (accessOp == T_ARROW) {
PointerType *ptrTy = ty->asPointerType();