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

Method setAbstractType

kdevplatform/language/duchain/functiondeclaration.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void FunctionDeclaration::setAbstractType(AbstractType::Ptr type)
58{
59 if (type && !type.dynamicCast<FunctionType>()) {
60 qCDebug(LANGUAGE) << "wrong type attached to function declaration:" << type->toString();
61 }
62 Declaration::setAbstractType(type);
63}
64
65QString FunctionDeclaration::toString() const
66{

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected