MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / NewComment

Method NewComment

sourcecommon/tinyxml2.cpp:1669–1675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667
1668
1669XMLComment* XMLDocument::NewComment( const char* str )
1670{
1671 XMLComment* comment = new (_commentPool.Alloc()) XMLComment( this );
1672 comment->_memPool = &_commentPool;
1673 comment->SetValue( str );
1674 return comment;
1675}
1676
1677
1678XMLText* XMLDocument::NewText( const char* str )

Callers 1

ShallowCloneMethod · 0.80

Calls 2

AllocMethod · 0.80
SetValueMethod · 0.80

Tested by

no test coverage detected