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

Method IsLineSelected

FileFilter/UnifiedDiffCoverageFilter.cpp:75–83  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

73
74 //-------------------------------------------------------------------------
75 bool UnifiedDiffCoverageFilter::IsLineSelected(const std::filesystem::path& path, int lineNumber)
76 {
77 auto file = SearchFile(path);
78
79 if (!file)
80 return false;
81
82 return file->IsLineSelected(lineNumber);
83 }
84
85 //-------------------------------------------------------------------------
86 File* UnifiedDiffCoverageFilter::SearchFile(const std::filesystem::path& path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected