LLVM 22.0.0git
llvm::FileLocRange Struct Reference

Struct holding a semiopen range [Start; End) More...

#include "llvm/AsmParser/FileLoc.h"

Public Member Functions

 FileLocRange ()
 FileLocRange (FileLoc S, FileLoc E)
bool contains (FileLoc L) const
bool contains (FileLocRange LR) const

Public Attributes

FileLoc Start
FileLoc End

Detailed Description

Struct holding a semiopen range [Start; End)

Definition at line 37 of file FileLoc.h.

Constructor & Destructor Documentation

◆ FileLocRange() [1/2]

llvm::FileLocRange::FileLocRange ( )
inline

Definition at line 41 of file FileLoc.h.

References End, and Start.

Referenced by contains().

◆ FileLocRange() [2/2]

llvm::FileLocRange::FileLocRange ( FileLoc S,
FileLoc E )
inline

Definition at line 43 of file FileLoc.h.

References assert(), E(), End, and Start.

Member Function Documentation

◆ contains() [1/2]

bool llvm::FileLocRange::contains ( FileLoc L) const
inline

Definition at line 47 of file FileLoc.h.

References End, and Start.

◆ contains() [2/2]

bool llvm::FileLocRange::contains ( FileLocRange LR) const
inline

Definition at line 49 of file FileLoc.h.

References End, FileLocRange(), and Start.

Member Data Documentation

◆ End

FileLoc llvm::FileLocRange::End

Definition at line 39 of file FileLoc.h.

Referenced by contains(), contains(), FileLocRange(), and FileLocRange().

◆ Start

FileLoc llvm::FileLocRange::Start

Definition at line 38 of file FileLoc.h.

Referenced by contains(), contains(), FileLocRange(), and FileLocRange().


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