MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isTypeEqual

Method isTypeEqual

lib/symboldatabase.cpp:8655–8663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8653}
8654
8655bool ValueType::isTypeEqual(const ValueType* that) const
8656{
8657 if (!that)
8658 return false;
8659 auto tie = [](const ValueType* vt) {
8660 return std::tie(vt->type, vt->container, vt->pointer, vt->typeScope, vt->smartPointer);
8661 };
8662 return tie(this) == tie(that);
8663}
8664
8665std::string ValueType::str() const
8666{

Callers 7

setValueTypeMethod · 0.80
getLifetimeTokensFunction · 0.80
checkVariableAssignmentFunction · 0.80
isTemporaryFunction · 0.80

Calls

no outgoing calls

Tested by 1