-bool NameRegexCoverageFilter::matches(const FunctionCoverageMapping &Function) {
- return llvm::Regex(Regex).match(Function.PrettyName);
+bool
+NameRegexCoverageFilter::matches(const coverage::FunctionRecord &Function) {
+ return llvm::Regex(Regex).match(Function.Name);