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

Method equals

plugins/clang/duchain/types/classspecializationtype.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104bool ClassSpecializationType::equals(const KDevelop::AbstractType* rhs) const
105{
106 if (this == rhs) {
107 return true;
108 }
109
110 auto tt = dynamic_cast<const ClassSpecializationType*>(rhs);
111 if (!tt || templateParameters() != tt->templateParameters()) {
112 return false;
113 }
114
115 return StructureType::equals(rhs);
116}
117
118QVector<KDevelop::IndexedType> ClassSpecializationType::templateParameters() const
119{

Callers

nothing calls this directly

Calls 1

templateParametersMethod · 0.80

Tested by

no test coverage detected