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

Function RemoveDevNull

FileFilter/UnifiedDiffParser.cpp:90–103  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88
89 //---------------------------------------------------------------------
90 void RemoveDevNull(
91 std::vector<File>& files,
92 std::vector<std::wstring>& sourceFileLines)
93 {
94 EraseIf(files, [](const auto& file)
95 {
96 return file.GetPath().wstring() == DevNull;
97 });
98
99 EraseIf(sourceFileLines, [](const auto& line)
100 {
101 return boost::algorithm::starts_with(line, UnifiedDiffParser::FromFilePrefix + DevNull);
102 });
103 }
104 }
105 //---------------------------------------------------------------------
106 struct UnifiedDiffParser::HunksDifferences

Callers 1

ParseMethod · 0.85

Calls 1

EraseIfFunction · 0.85

Tested by

no test coverage detected