clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::doc::Location Struct Reference

#include <Representation.h>

Public Member Functions

 Location (int LineNumber=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 LineNumber = 0
 
SmallString< 32 > Filename
 
bool IsFileInRootDir = false
 

Detailed Description

Definition at line 240 of file Representation.h.

Constructor & Destructor Documentation

◆ Location()

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

Definition at line 241 of file Representation.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 251 of file Representation.h.

References Filename, and LineNumber.

◆ operator<()

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

Definition at line 260 of file Representation.h.

References Filename, and LineNumber.

◆ operator==()

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

Definition at line 246 of file Representation.h.

References Filename, and LineNumber.

Member Data Documentation

◆ Filename

SmallString<32> clang::doc::Location::Filename

Definition at line 266 of file Representation.h.

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

◆ IsFileInRootDir

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

Definition at line 267 of file Representation.h.

◆ LineNumber

int clang::doc::Location::LineNumber = 0

Definition at line 265 of file Representation.h.

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


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