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

Method ShallowEqual

externals/tinyxml2/tinyxml2.cpp:1271–1276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269
1270
1271bool XMLText::ShallowEqual( const XMLNode* compare ) const
1272{
1273 TIXMLASSERT( compare );
1274 const XMLText* text = compare->ToText();
1275 return ( text && XMLUtil::StringEqual( text->Value(), Value() ) );
1276}
1277
1278
1279bool XMLText::Accept( XMLVisitor* visitor ) const

Callers

nothing calls this directly

Calls 5

StringEqualFunction · 0.85
FirstAttributeFunction · 0.85
NameMethod · 0.80
ValueClass · 0.50
ValueMethod · 0.45

Tested by

no test coverage detected