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

Method toString

kdevplatform/language/duchain/types/typealiastype.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52QString TypeAliasType::toString() const
53{
54 QualifiedIdentifier id = qualifiedIdentifier();
55 if (!id.isEmpty())
56 return AbstractType::toString(false) + id.toString();
57
58 if (type())
59 return AbstractType::toString(false) + type()->toString();
60
61 return QStringLiteral("typedef <notype>");
62}
63
64void TypeAliasType::accept0(KDevelop::TypeVisitor* v) const
65{

Callers

nothing calls this directly

Calls 3

typeFunction · 0.70
toStringFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected