class FunctionRecordIterator

Declaration

class FunctionRecordIterator : public iterator_facade_base { /* full declaration omitted */ };

Description

Iterator over Functions, optionally filtered to a single file.

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:382

Inherits from: iterator_facade_base

Member Variables

private ArrayRef<llvm::coverage::FunctionRecord> Records
private ArrayRef<FunctionRecord>::iterator Current
private llvm::StringRef Filename

Method Overview

Methods

FunctionRecordIterator(
    ArrayRef<llvm::coverage::FunctionRecord>
        Records_,
    llvm::StringRef Filename = "")

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:393

Parameters

ArrayRef<llvm::coverage::FunctionRecord> Records_
llvm::StringRef Filename = ""

FunctionRecordIterator()

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:399

void skipOtherFiles()

Description

Skip records whose primary file is not \c Filename.

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:390