clang-tools 22.0.0git
clang::doc::Location Struct Reference

#include <Representation.h>

Public Member Functions

 Location (int StartLineNumber=0, int EndLineNumber=0, StringRef Filename=StringRef(), bool IsFileInRootDir=false)
bool operator== (const Location &Other) const
bool operator!= (const Location &Other) const
bool operator< (const Location &Other) const

Public Attributes

int StartLineNumber = 0
int EndLineNumber = 0
SmallString< 32 > Filename
bool IsFileInRootDir = false

Detailed Description

Definition at line 288 of file Representation.h.

Constructor & Destructor Documentation

◆ Location()

clang::doc::Location::Location ( int StartLineNumber = 0,
int EndLineNumber = 0,
StringRef Filename = StringRef(),
bool IsFileInRootDir = false )
inline

Definition at line 289 of file Representation.h.

References EndLineNumber, Filename, IsFileInRootDir, and StartLineNumber.

Referenced by operator!=(), operator<(), and operator==().

Member Function Documentation

◆ operator!=()

bool clang::doc::Location::operator!= ( const Location & Other) const
inline

Definition at line 299 of file Representation.h.

References Location().

◆ operator<()

bool clang::doc::Location::operator< ( const Location & Other) const
inline

Definition at line 305 of file Representation.h.

References EndLineNumber, Filename, Location(), and StartLineNumber.

◆ operator==()

bool clang::doc::Location::operator== ( const Location & Other) const
inline

Definition at line 294 of file Representation.h.

References EndLineNumber, Filename, Location(), and StartLineNumber.

Member Data Documentation

◆ EndLineNumber

int clang::doc::Location::EndLineNumber = 0

Definition at line 311 of file Representation.h.

Referenced by Location(), operator<(), and operator==().

◆ Filename

◆ IsFileInRootDir

bool clang::doc::Location::IsFileInRootDir = false

◆ StartLineNumber


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