class CoverageData

Declaration

class CoverageData { /* full declaration omitted */ };

Description

Coverage information to be processed or displayed. This represents the coverage of an entire file, expansion, or function. It provides a sequence of CoverageSegments to iterate through, as well as the list of expansions that can be further processed.

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

Method Overview

  • public CoverageData()
  • public CoverageData(llvm::StringRef Filename)
  • public std::vector<CoverageSegment>::const_iterator begin() const
  • public bool empty() const
  • public std::vector<CoverageSegment>::const_iterator end() const
  • public ArrayRef<llvm::coverage::ExpansionRecord> getExpansions() const
  • public llvm::StringRef getFilename() const

Methods

CoverageData()

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

CoverageData(llvm::StringRef Filename)

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

Parameters

llvm::StringRef Filename

std::vector<CoverageSegment>::const_iterator
begin() const

Description

Get an iterator over the coverage segments for this object. The segments are guaranteed to be uniqued and sorted by location.

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

bool empty() const

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

std::vector<CoverageSegment>::const_iterator end()
    const

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

ArrayRef<llvm::coverage::ExpansionRecord>
getExpansions() const

Description

Expansions that can be further processed.

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

llvm::StringRef getFilename() const

Description

Get the name of the file this data covers.

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