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

Method setAbstractType

kdevplatform/language/duchain/declaration.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void Declaration::setAbstractType(AbstractType::Ptr type)
250{
251 ENSURE_CAN_WRITE
252 DUCHAIN_D_DYNAMIC(Declaration);
253
254 d->m_type = type ? type->indexed() : IndexedType();
255
256 updateCodeModel();
257}
258
259Declaration* Declaration::specialize(const IndexedInstantiationInformation& /*specialization*/,
260 const TopDUContext* topContext, int /*upDistance*/)

Callers 6

setDeclInCtxtDataMethod · 0.45
setDeclTypeMethod · 0.45
visitMethod · 0.45
declarePropertyMethod · 0.45
startVisitingMethod · 0.45

Calls 2

IndexedTypeFunction · 0.50
indexedMethod · 0.45

Tested by

no test coverage detected