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

#include <Representation.h>

Collaboration diagram for clang::doc::Location:
Collaboration graph
[legend]

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
 

Public Attributes

int LineNumber = 0
 
SmallString< 32 > Filename
 
bool IsFileInRootDir = false
 

Detailed Description

Definition at line 237 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 238 of file Representation.h.

Member Function Documentation

◆ operator<()

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

Definition at line 252 of file Representation.h.

References Filename, and LineNumber.

◆ operator==()

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

Definition at line 243 of file Representation.h.

References Filename, and LineNumber.

Member Data Documentation

◆ Filename

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

Definition at line 258 of file Representation.h.

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

◆ IsFileInRootDir

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

Definition at line 259 of file Representation.h.

◆ LineNumber

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

Definition at line 257 of file Representation.h.

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


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