clang-tools  11.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 ()=default
 
 Location (int LineNumber, SmallString< 16 > Filename)
 
 Location (int LineNumber, SmallString< 16 > Filename, bool IsFileInRootDir)
 
bool operator== (const Location &Other) const
 
bool operator< (const Location &Other) const
 

Public Attributes

int LineNumber
 
SmallString< 32 > Filename
 
bool IsFileInRootDir = false
 

Detailed Description

Definition at line 215 of file Representation.h.

Constructor & Destructor Documentation

◆ Location() [1/3]

clang::doc::Location::Location ( )
default

◆ Location() [2/3]

clang::doc::Location::Location ( int  LineNumber,
SmallString< 16 >  Filename 
)
inline

Definition at line 217 of file Representation.h.

◆ Location() [3/3]

clang::doc::Location::Location ( int  LineNumber,
SmallString< 16 >  Filename,
bool  IsFileInRootDir 
)
inline

Definition at line 219 of file Representation.h.

Member Function Documentation

◆ operator<()

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

Definition at line 232 of file Representation.h.

References Filename, Filename, and LineNumber.

◆ operator==()

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

Definition at line 223 of file Representation.h.

References Filename, Filename, and LineNumber.

Member Data Documentation

◆ Filename

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

◆ IsFileInRootDir

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

Definition at line 239 of file Representation.h.

Referenced by clang::doc::writeFileDefinition().

◆ LineNumber

int clang::doc::Location::LineNumber

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