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

A container which contains a StringRef plus a precomputed hash. More...

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

Public Member Functions
CachedHashStringRef (StringRef S)
CachedHashStringRef (StringRef S, uint32_t Hash)
StringRef val () const
const char * data () const
uint32_t size () const
uint32_t hash () const

A container which contains a StringRef plus a precomputed hash.

Definition at line 29 of file CachedHashString.h.

llvm::CachedHashStringRef::CachedHashStringRef ( StringRef S) inlineexplicit

CachedHashStringRef() [2/2]

data()

const char * llvm::CachedHashStringRef::data ( ) const inline

hash()

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

size()

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

val()

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

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