struct ExpansionRecord
Declaration
struct ExpansionRecord { /* full declaration omitted */ };
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.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:368
Member Variables
- public unsigned int FileID
- The abstract file this expansion covers.
- public const llvm::coverage::CountedRegion& Region
- The region that expands to this record.
- public const llvm::coverage::FunctionRecord& Function
- Coverage for the expansion.
Method Overview
- public ExpansionRecord(const llvm::coverage::CountedRegion & Region, const llvm::coverage::FunctionRecord & Function)
Methods
ΒΆExpansionRecord(
const llvm::coverage::CountedRegion& Region,
const llvm::coverage::FunctionRecord&
Function)
ExpansionRecord(
const llvm::coverage::CountedRegion& Region,
const llvm::coverage::FunctionRecord&
Function)
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:376
Parameters
- const llvm::coverage::CountedRegion& Region
- const llvm::coverage::FunctionRecord& Function