LLVM API Documentation

Protected Member Functions | Protected Attributes
llvm::coverage::RawCoverageReader Class Reference

Base class for the raw coverage mapping and filenames data readers. More...

#include <CoverageMappingReader.h>

Inheritance diagram for llvm::coverage::RawCoverageReader:
Inheritance graph
[legend]
Collaboration diagram for llvm::coverage::RawCoverageReader:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

std::error_code error (std::error_code EC)
 Return the error code.
std::error_code success ()
 Clear the current error code and return a successful one.
 RawCoverageReader (StringRef Data)
std::error_code readULEB128 (uint64_t &Result)
std::error_code readIntMax (uint64_t &Result, uint64_t MaxPlus1)
std::error_code readSize (uint64_t &Result)
std::error_code readString (StringRef &Result)

Protected Attributes

StringRef Data

Detailed Description

Base class for the raw coverage mapping and filenames data readers.

Definition at line 72 of file CoverageMappingReader.h.


Constructor & Destructor Documentation

Definition at line 82 of file CoverageMappingReader.h.


Member Function Documentation

std::error_code llvm::coverage::RawCoverageReader::error ( std::error_code  EC) [inline, protected]

Return the error code.

Definition at line 77 of file CoverageMappingReader.h.

Referenced by success().

std::error_code RawCoverageReader::readIntMax ( uint64_t &  Result,
uint64_t  MaxPlus1 
) [protected]

Definition at line 42 of file CoverageMappingReader.cpp.

References llvm::malformed, and llvm::success.

std::error_code RawCoverageReader::readSize ( uint64_t &  Result) [protected]

Definition at line 51 of file CoverageMappingReader.cpp.

References llvm::malformed, and llvm::success.

std::error_code RawCoverageReader::readString ( StringRef Result) [protected]

Definition at line 60 of file CoverageMappingReader.cpp.

References llvm::StringRef::substr(), and llvm::success.

std::error_code RawCoverageReader::readULEB128 ( uint64_t &  Result) [protected]
std::error_code llvm::coverage::RawCoverageReader::success ( ) [inline, protected]

Clear the current error code and return a successful one.

Definition at line 80 of file CoverageMappingReader.h.

References error(), and llvm::object::success.


Member Data Documentation

Definition at line 74 of file CoverageMappingReader.h.


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