MCPcopy Create free account
hub / github.com/argotorg/solidity / parseCommandLine

Function parseCommandLine

test/solc/CommandLineParser.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51CommandLineOptions parseCommandLine(std::vector<std::string> const& _commandLine)
52{
53 std::vector<char const*> argv = test::makeArgv(_commandLine);
54
55 CommandLineParser cliParser;
56 cliParser.parse(static_cast<int>(_commandLine.size()), argv.data());
57 return cliParser.options();
58}
59
60} // namespace
61

Callers 2

mainMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 4

optionsMethod · 0.80
parseMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected