diff options
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageFilters.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/CoverageFilters.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/tools/llvm-cov/CoverageFilters.cpp b/llvm/tools/llvm-cov/CoverageFilters.cpp index b7998647cc57..bc1ddb41087f 100644 --- a/llvm/tools/llvm-cov/CoverageFilters.cpp +++ b/llvm/tools/llvm-cov/CoverageFilters.cpp @@ -40,13 +40,6 @@ bool NameAllowlistCoverageFilter::matches( return Allowlist.inSection("llvmcov", "allowlist_fun", Function.Name); } -// TODO: remove this when -name-whitelist option is removed. -bool NameWhitelistCoverageFilter::matches( - const coverage::CoverageMapping &, - const coverage::FunctionRecord &Function) const { - return Whitelist.inSection("llvmcov", "whitelist_fun", Function.Name); -} - bool RegionCoverageFilter::matches( const coverage::CoverageMapping &CM, const coverage::FunctionRecord &Function) const { |