llvm::CachedHashStringRef

A container which contains a StringRef plus a precomputed hash.

Synopsis

Declared in <llvm/ADT/CachedHashString.h>

class CachedHashStringRef;

Member Functions

NameDescription
CachedHashStringRef [constructor]Constructors
data Return a pointer to the first character.
hash Return the cached hash value.
size Return the string length in bytes.
val Return the wrapped string as a StringRef.