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

Method NewText

deps/tinyxml2/tinyxml2.cpp:2180–2185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2178
2179
2180XMLText* XMLDocument::NewText( const char* str )
2181{
2182 XMLText* text = CreateUnlinkedNode<XMLText>( _textPool );
2183 text->SetValue( str );
2184 return text;
2185}
2186
2187
2188XMLDeclaration* XMLDocument::NewDeclaration( const char* str )

Callers 2

ShallowCloneMethod · 0.80
SetTextMethod · 0.80

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected