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

Method accept0

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

Source from the content-addressed store, hash-verified

110}
111
112void FunctionType::accept0(TypeVisitor* v) const
113{
114 TYPE_D(FunctionType);
115 if (v->visit(this)) {
116 acceptType(d->m_returnType.abstractType(), v);
117
118 for (unsigned int i = 0; i < d->m_argumentsSize(); ++i)
119 acceptType(d->m_arguments()[i].abstractType(), v);
120 }
121
122 v->endVisit(this);
123}
124
125void FunctionType::exchangeTypes(TypeExchanger* exchanger)
126{

Callers

nothing calls this directly

Calls 3

visitMethod · 0.45
abstractTypeMethod · 0.45
endVisitMethod · 0.45

Tested by

no test coverage detected