MCPcopy Create free account
hub / github.com/KDE/kdevelop / exchangeTypes

Method exchangeTypes

kdevplatform/language/duchain/types/functiontype.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void FunctionType::exchangeTypes(TypeExchanger* exchanger)
126{
127 TYPE_D_DYNAMIC(FunctionType);
128 for (uint i = 0; i < d->m_argumentsSize(); ++i)
129 d->m_argumentsList()[i] = IndexedType(exchanger->exchange(d->m_arguments()[i].abstractType()));
130
131 d->m_returnType = IndexedType(exchanger->exchange(d->m_returnType.abstractType()));
132}
133
134QString FunctionType::partToString(SignaturePart sigPart) const
135{

Callers

nothing calls this directly

Calls 3

IndexedTypeFunction · 0.70
exchangeMethod · 0.45
abstractTypeMethod · 0.45

Tested by

no test coverage detected