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

Method addType

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

Source from the content-addressed store, hash-verified

105}
106
107void UnsureType::addType(const KDevelop::IndexedType& type)
108{
109 if (!d_func_dynamic()->m_typesList().contains(type)) {
110 d_func_dynamic()->m_typesList().append(type);
111 }
112}
113
114void UnsureType::removeType(const KDevelop::IndexedType& type)
115{

Callers 1

mergeTypesFunction · 0.80

Calls 2

containsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected