mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
llvm-cov: Remove dead code
FunctionCoverageMapping::PrettyName was from a version of the tool during review, and isn't actually used currently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -18,12 +18,12 @@
|
||||
using namespace llvm;
|
||||
|
||||
bool NameCoverageFilter::matches(const FunctionCoverageMapping &Function) {
|
||||
StringRef FuncName = Function.PrettyName;
|
||||
StringRef FuncName = Function.Name;
|
||||
return FuncName.find(Name) != StringRef::npos;
|
||||
}
|
||||
|
||||
bool NameRegexCoverageFilter::matches(const FunctionCoverageMapping &Function) {
|
||||
return llvm::Regex(Regex).match(Function.PrettyName);
|
||||
return llvm::Regex(Regex).match(Function.Name);
|
||||
}
|
||||
|
||||
bool RegionCoverageFilter::matches(const FunctionCoverageMapping &Function) {
|
||||
|
Reference in New Issue
Block a user