LLVM  5.0.0
Public Member Functions | Public Attributes | List of all members
llvm::coverage::ExpansionRecord Struct Reference

Coverage information for a macro expansion or #included file. More...

#include "llvm/ProfileData/Coverage/CoverageMapping.h"

Collaboration diagram for llvm::coverage::ExpansionRecord:
[legend]

Public Member Functions

 ExpansionRecord (const CountedRegion &Region, const FunctionRecord &Function)
 

Public Attributes

unsigned FileID
 The abstract file this expansion covers. More...
 
const CountedRegion & Region
 The region that expands to this record. More...
 
const FunctionRecord & Function
 Coverage for the expansion. More...
 

Detailed Description

Coverage information for a macro expansion or #included file.

When covered code has pieces that can be expanded for more detail, such as a preprocessor macro use and its definition, these are represented as expansions whose coverage can be looked up independently.

Definition at line 355 of file CoverageMapping.h.

Constructor & Destructor Documentation

llvm::coverage::ExpansionRecord::ExpansionRecord ( const CountedRegion &  Region,
const FunctionRecord &  Function 
)
inline

Definition at line 363 of file CoverageMapping.h.

Member Data Documentation

unsigned llvm::coverage::ExpansionRecord::FileID

The abstract file this expansion covers.

Definition at line 357 of file CoverageMapping.h.

Referenced by llvm::coverage::CoverageMapping::getCoverageForExpansion().

const FunctionRecord& llvm::coverage::ExpansionRecord::Function

Coverage for the expansion.

Definition at line 361 of file CoverageMapping.h.

Referenced by llvm::coverage::CoverageMapping::getCoverageForExpansion().

const CountedRegion& llvm::coverage::ExpansionRecord::Region

The region that expands to this record.

Definition at line 359 of file CoverageMapping.h.


The documentation for this struct was generated from the following file: