LLVM 22.0.0git
llvm::StringTable::Offset Class Reference

#include "llvm/ADT/StringTable.h"

Public Member Functions

constexpr Offset ()=default
constexpr Offset (unsigned Value)
constexpr unsigned value () const

Friends

constexpr bool operator== (const Offset &LHS, const Offset &RHS)
constexpr bool operator!= (const Offset &LHS, const Offset &RHS)

Detailed Description

Definition at line 48 of file StringTable.h.

Constructor & Destructor Documentation

◆ Offset() [1/2]

llvm::StringTable::Offset::Offset ( )
constexprdefault

Referenced by operator!=, and operator==.

◆ Offset() [2/2]

llvm::StringTable::Offset::Offset ( unsigned Value)
inlineconstexpr

Definition at line 54 of file StringTable.h.

Member Function Documentation

◆ value()

unsigned llvm::StringTable::Offset::value ( ) const
inlineconstexpr

Definition at line 64 of file StringTable.h.

◆ operator!=

bool operator!= ( const Offset & LHS,
const Offset & RHS )
friend

Definition at line 60 of file StringTable.h.

References LHS, Offset(), and RHS.

◆ operator==

bool operator== ( const Offset & LHS,
const Offset & RHS )
friend

Definition at line 56 of file StringTable.h.

References LHS, Offset(), and RHS.


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