From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- llvm/tools/llvm-cov/CoverageFilters.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/tools/llvm-cov/CoverageFilters.cpp') 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 { -- cgit v1.2.3