clang API Documentation

Public Member Functions
clang::CoverageSourceInfo Class Reference

Stores additional source code information like skipped ranges which is required by the coverage mapping generator and is obtained from the preprocessor. More...

#include <CoverageMappingGen.h>

Inheritance diagram for clang::CoverageSourceInfo:
Inheritance graph
[legend]
Collaboration diagram for clang::CoverageSourceInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ArrayRef< SourceRangegetSkippedRanges () const
void SourceRangeSkipped (SourceRange Range) override
 Hook called when a source range is skipped.

Detailed Description

Stores additional source code information like skipped ranges which is required by the coverage mapping generator and is obtained from the preprocessor.

Definition at line 38 of file CoverageMappingGen.h.


Member Function Documentation

Definition at line 41 of file CoverageMappingGen.h.

void CoverageSourceInfo::SourceRangeSkipped ( SourceRange  Range) [override, virtual]

Hook called when a source range is skipped.

Parameters:
RangeThe SourceRange that was skipped. The range begins at the #if/#else directive and ends after the #endif/#else directive.

Reimplemented from clang::PPCallbacks.

Definition at line 28 of file CoverageMappingGen.cpp.


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