LLVM API Documentation

Public Member Functions
llvm::GCOVLines Class Reference

GCOVLines - A wrapper around a vector of int to keep track of line nos. More...

#include <GCOV.h>

List of all members.

Public Member Functions

 ~GCOVLines ()
void add (uint32_t N)
void collectLineCounts (FileInfo &FI, StringRef Filename, uint32_t Count)
void dump ()
 dump - Dump GCOVLines content on standard out for debugging purposes.

Detailed Description

GCOVLines - A wrapper around a vector of int to keep track of line nos.

Definition at line 204 of file GCOV.h.


Constructor & Destructor Documentation

llvm::GCOVLines::~GCOVLines ( ) [inline]

Definition at line 206 of file GCOV.h.

References llvm::SmallVectorImpl< T >::clear().


Member Function Documentation

void llvm::GCOVLines::add ( uint32_t  N) [inline]
void GCOVLines::collectLineCounts ( FileInfo FI,
StringRef  Filename,
uint32_t  Count 
)

collectLineCounts - Collect line counts. This must be used after reading .gcno and .gcda files.

Definition at line 221 of file GCOV.cpp.

References llvm::FileInfo::addLineCount(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and I.

void GCOVLines::dump ( )

dump - Dump GCOVLines content on standard out for debugging purposes.

Definition at line 229 of file GCOV.cpp.

References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), I, and llvm::outs().


The documentation for this class was generated from the following files: