clang API Documentation
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>
Public Member Functions | |
ArrayRef< SourceRange > | getSkippedRanges () const |
void | SourceRangeSkipped (SourceRange Range) override |
Hook called when a source range is skipped. |
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.
ArrayRef<SourceRange> clang::CoverageSourceInfo::getSkippedRanges | ( | ) | const [inline] |
Definition at line 41 of file CoverageMappingGen.h.
void CoverageSourceInfo::SourceRangeSkipped | ( | SourceRange | Range | ) | [override, virtual] |
Hook called when a source range is skipped.
Range | The 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.