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

Method FillVariableMap

CppCoverage/ProgramOptions.cpp:154–164  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

152
153 //-------------------------------------------------------------------------
154 void ProgramOptions::FillVariableMap(
155 int argc,
156 const char** argv,
157 po::variables_map& variables) const
158 {
159 po::store(po::command_line_parser(argc, argv)
160 .options(commandLineOptions_)
161 .positional(positionalOptions_)
162 .run(), variables);
163 po::notify(variables);
164 }
165
166 //-------------------------------------------------------------------------
167 void ProgramOptions::FillVariableMap(

Callers 2

ParseConfigFileFunction · 0.80
ParseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected