A container which contains a string, which it owns, plus a precomputed hash.
Synopsis
Declared in <llvm/ADT/CachedHashString.h>
class CachedHashString;
Description
We do not null‐terminate the string.
Member Functions
Name |
Description |
|
Constructors |
|
Destroy and free owned string storage when not empty. |
Assign from |
|
Return the cached hash value. |
|
Return the string length in bytes. |
|
Return the owned string as a StringRef. |
|
Implicit conversion to a non‐owning CachedHashStringRef. |
|
Implicit conversion to a non‐owning StringRef view. |
Friends
Name |
Description |
Exchange owned storage and hash state between |
|
Created with MrDocs