MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / OptionsParser

Method OptionsParser

CppCoverage/OptionsParser.cpp:331–338  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

329
330 //-------------------------------------------------------------------------
331 OptionsParser::OptionsParser(
332 std::shared_ptr<Tools::WarningManager> warningManager,
333 std::vector<std::unique_ptr<IOptionParser>>&& optionParsers)
334 : programOptions_{std::make_unique<ProgramOptions>(optionParsers)},
335 optionalWarningManager_{std::move(warningManager)}
336 {
337 optionParsers_ = std::move(optionParsers);
338 }
339
340 //-------------------------------------------------------------------------
341 OptionsParser::OptionsParser() : OptionsParser({}, {})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected