LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::coverage::FunctionRecord Struct Reference

Code coverage information for a single function. More...

#include <CoverageMapping.h>

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

Public Member Functions

 FunctionRecord (StringRef Name, ArrayRef< StringRef > Filenames)
 
void pushRegion (CounterMappingRegion Region, uint64_t Count)
 

Public Attributes

std::string Name
 Raw function name. More...
 
std::vector< std::string > Filenames
 Associated files. More...
 
std::vector< CountedRegionCountedRegions
 Regions in the function along with their counts. More...
 
uint64_t ExecutionCount
 The number of times this function was executed. More...
 

Detailed Description

Code coverage information for a single function.

Definition at line 253 of file CoverageMapping.h.

Constructor & Destructor Documentation

llvm::coverage::FunctionRecord::FunctionRecord ( StringRef  Name,
ArrayRef< StringRef Filenames 
)
inline

Definition at line 263 of file CoverageMapping.h.

Member Function Documentation

void llvm::coverage::FunctionRecord::pushRegion ( CounterMappingRegion  Region,
uint64_t  Count 
)
inline

Definition at line 266 of file CoverageMapping.h.

References CountedRegions, and ExecutionCount.

Member Data Documentation

std::vector<CountedRegion> llvm::coverage::FunctionRecord::CountedRegions
uint64_t llvm::coverage::FunctionRecord::ExecutionCount

The number of times this function was executed.

Definition at line 261 of file CoverageMapping.h.

Referenced by pushRegion().

std::vector<std::string> llvm::coverage::FunctionRecord::Filenames
std::string llvm::coverage::FunctionRecord::Name

Raw function name.

Definition at line 255 of file CoverageMapping.h.

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


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