MCPcopy Create free account
hub / github.com/Kitware/CMake / InitializeParser

Method InitializeParser

Source/cmLocalVisualStudio10Generator.cxx:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45 }
46 int InitializeParser() override
47 {
48 this->DoGUID = false;
49 int ret = cmXMLParser::InitializeParser();
50 if (ret == 0) {
51 return ret;
52 }
53 // visual studio projects have a strange encoding, but it is
54 // really utf-8
55 XML_SetEncoding(static_cast<XML_Parser>(this->Parser), "utf-8");
56 return 1;
57 }
58 std::string GUID;
59 bool DoGUID;
60};

Callers

nothing calls this directly

Calls 1

XML_SetEncodingFunction · 0.85

Tested by

no test coverage detected