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

Method Options

CppCoverage/Options.cpp:40–55  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

38
39 //-------------------------------------------------------------------------
40 Options::Options(
41 const Patterns& modulePatterns,
42 const Patterns& sourcePatterns,
43 const StartInfo* startInfo)
44 : modules_{modulePatterns}
45 , sources_{sourcePatterns}
46 , logLevel_{ LogLevel::Normal }
47 , isPluginModeEnabled_{false}
48 , isCoverChildrenModeEnabled_{false}
49 , isAggregateByFileModeEnabled_{true}
50 , isContinueAfterCppExceptionModeEnabled_{false}
51 , isOptimizedBuildSupportEnabled_{false}
52 {
53 if (startInfo)
54 optionalStartInfo_ = *startInfo;
55 }
56
57 //-------------------------------------------------------------------------
58 Options::~Options() = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected