LLVM: llvm::CachedHashString Class Reference (original) (raw)

A container which contains a string, which it owns, plus a precomputed hash. More...

#include "[llvm/ADT/CachedHashString.h](CachedHashString%5F8h%5Fsource.html)"

Public Member Functions
CachedHashString (const char *S)
CachedHashString (StringRef S)
CachedHashString (StringRef S, uint32_t Hash)
CachedHashString (const CachedHashString &Other)
CachedHashString & operator= (CachedHashString Other)
CachedHashString (CachedHashString &&Other) noexcept
~CachedHashString ()
StringRef val () const
uint32_t size () const
uint32_t hash () const
operator StringRef () const
operator CachedHashStringRef () const

A container which contains a string, which it owns, plus a precomputed hash.

We do not null-terminate the string.

Definition at line 72 of file CachedHashString.h.

llvm::CachedHashString::CachedHashString ( const char * S) inlineexplicit

CachedHashString() [2/5]

llvm::CachedHashString::CachedHashString ( StringRef S) inlineexplicit

CachedHashString() [3/5]

CachedHashString() [4/5]

CachedHashString() [5/5]

llvm::CachedHashString::CachedHashString ( CachedHashString && Other) inlinenoexcept

~CachedHashString()

llvm::CachedHashString::~CachedHashString ( ) inline

hash()

uint32_t llvm::CachedHashString::hash ( ) const inline

operator CachedHashStringRef()

operator StringRef()

llvm::CachedHashString::operator StringRef ( ) const inline

operator=()

size()

uint32_t llvm::CachedHashString::size ( ) const inline

val()

StringRef llvm::CachedHashString::val ( ) const inline

DenseMapInfo< CachedHashString >

swap


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