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

Method LineFilter

FileFilter/LineFilter.cpp:29–37  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

27{
28 //-------------------------------------------------------------------------
29 LineFilter::LineFilter(
30 const std::vector<std::wstring>& excludedLineRegexes,
31 bool enableLog)
32 : fileReadCount_{0}
33 , enableLog_{ enableLog }
34 {
35 for (const auto& regex : excludedLineRegexes)
36 excludedLineRegexes_.emplace_back(Tools::ToLocalString(regex));
37 }
38
39 //-------------------------------------------------------------------------
40 bool LineFilter::IsLineSelected(

Callers

nothing calls this directly

Calls 1

ToLocalStringFunction · 0.85

Tested by

no test coverage detected