MCPcopy Create free account
hub / github.com/avast/retdec / CreateAttribute

Method CreateAttribute

deps/tinyxml2/tinyxml2.cpp:1954–1962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1952}
1953
1954XMLAttribute* XMLElement::CreateAttribute()
1955{
1956 TIXMLASSERT( sizeof( XMLAttribute ) == _document->_attributePool.ItemSize() );
1957 XMLAttribute* attrib = new (_document->_attributePool.Alloc() ) XMLAttribute();
1958 TIXMLASSERT( attrib );
1959 attrib->_memPool = &_document->_attributePool;
1960 attrib->_memPool->SetTracked();
1961 return attrib;
1962}
1963
1964//
1965// <ele></ele>

Callers

nothing calls this directly

Calls 3

ItemSizeMethod · 0.80
AllocMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected