LLVM 22.0.0git
FilenameRange Struct Reference

A range of filename indices. More...

Public Member Functions

 FilenameRange (unsigned StartingIndex, unsigned Length)
void markInvalid ()
bool isInvalid () const

Public Attributes

unsigned StartingIndex
unsigned Length

Detailed Description

A range of filename indices.

Used to specify the location of a batch of filenames in a vector-like container.

Definition at line 541 of file CoverageMappingReader.cpp.

Constructor & Destructor Documentation

◆ FilenameRange()

FilenameRange::FilenameRange ( unsigned StartingIndex,
unsigned Length )
inline

Definition at line 545 of file CoverageMappingReader.cpp.

References Length, and StartingIndex.

Member Function Documentation

◆ isInvalid()

bool FilenameRange::isInvalid ( ) const
inline

Definition at line 549 of file CoverageMappingReader.cpp.

References Length.

◆ markInvalid()

void FilenameRange::markInvalid ( )
inline

Definition at line 548 of file CoverageMappingReader.cpp.

References Length.

Member Data Documentation

◆ Length

unsigned FilenameRange::Length

Definition at line 543 of file CoverageMappingReader.cpp.

Referenced by FilenameRange(), isInvalid(), and markInvalid().

◆ StartingIndex

unsigned FilenameRange::StartingIndex

Definition at line 542 of file CoverageMappingReader.cpp.

Referenced by FilenameRange().


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