LLVM 20.0.0git
Public Member Functions | List of all members
llvm::sys::fs::UniqueID Class Reference

#include "llvm/Support/FileSystem/UniqueID.h"

Public Member Functions

 UniqueID ()=default
 
 UniqueID (uint64_t Device, uint64_t File)
 
bool operator== (const UniqueID &Other) const
 
bool operator!= (const UniqueID &Other) const
 
bool operator< (const UniqueID &Other) const
 
uint64_t getDevice () const
 
uint64_t getFile () const
 

Detailed Description

Definition at line 26 of file UniqueID.h.

Constructor & Destructor Documentation

◆ UniqueID() [1/2]

llvm::sys::fs::UniqueID::UniqueID ( )
default

◆ UniqueID() [2/2]

llvm::sys::fs::UniqueID::UniqueID ( uint64_t  Device,
uint64_t  File 
)
inline

Definition at line 32 of file UniqueID.h.

Member Function Documentation

◆ getDevice()

uint64_t llvm::sys::fs::UniqueID::getDevice ( ) const
inline

Definition at line 47 of file UniqueID.h.

◆ getFile()

uint64_t llvm::sys::fs::UniqueID::getFile ( ) const
inline

Definition at line 48 of file UniqueID.h.

Referenced by llvm::vfs::getDirectoryID(), and llvm::vfs::getFileID().

◆ operator!=()

bool llvm::sys::fs::UniqueID::operator!= ( const UniqueID Other) const
inline

Definition at line 37 of file UniqueID.h.

References llvm::Other.

◆ operator<()

bool llvm::sys::fs::UniqueID::operator< ( const UniqueID Other) const
inline

Don't use std::tie since it bloats the compile time of this header.

Definition at line 38 of file UniqueID.h.

References llvm::Other.

◆ operator==()

bool llvm::sys::fs::UniqueID::operator== ( const UniqueID Other) const
inline

Definition at line 34 of file UniqueID.h.

References llvm::Other.


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