#include "CoverageFilters.h"
#include "CoverageSummaryInfo.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/SpecialCaseList.h"
usingnamespacellvm;
bool NameCoverageFilter::matches(
const coverage::CoverageMapping &,
const coverage::FunctionRecord &Function) const { … }
bool NameRegexCoverageFilter::matches(
const coverage::CoverageMapping &,
const coverage::FunctionRecord &Function) const { … }
bool NameRegexCoverageFilter::matchesFilename(StringRef Filename) const { … }
bool NameAllowlistCoverageFilter::matches(
const coverage::CoverageMapping &,
const coverage::FunctionRecord &Function) const { … }
bool RegionCoverageFilter::matches(
const coverage::CoverageMapping &CM,
const coverage::FunctionRecord &Function) const { … }
bool LineCoverageFilter::matches(
const coverage::CoverageMapping &CM,
const coverage::FunctionRecord &Function) const { … }
void CoverageFilters::push_back(std::unique_ptr<CoverageFilter> Filter) { … }
bool CoverageFilters::matches(const coverage::CoverageMapping &CM,
const coverage::FunctionRecord &Function) const { … }
bool CoverageFilters::matchesFilename(StringRef Filename) const { … }
bool CoverageFiltersMatchAll::matches(
const coverage::CoverageMapping &CM,
const coverage::FunctionRecord &Function) const { … }