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

Method NewDeclaration

deps/tinyxml2/tinyxml2.cpp:2188–2193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2186
2187
2188XMLDeclaration* XMLDocument::NewDeclaration( const char* str )
2189{
2190 XMLDeclaration* dec = CreateUnlinkedNode<XMLDeclaration>( _commentPool );
2191 dec->SetValue( str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"" );
2192 return dec;
2193}
2194
2195
2196XMLUnknown* XMLDocument::NewUnknown( const char* str )

Callers 1

ShallowCloneMethod · 0.80

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected