LLVM: llvm::cas::builtin::BuiltinCASContext Class Reference (original) (raw)
CASContext for LLVM builtin CAS using BLAKE3 hash type. More...
#include "[llvm/CAS/BuiltinCASContext.h](BuiltinCASContext%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| StringRef | getHashSchemaIdentifier () const final |
| Get an identifer for the schema used by this CAS context. | |
| BuiltinCASContext ()=default | |
| Public Member Functions inherited from llvm::cas::CASContext | |
| virtual | ~CASContext ()=default |
| Static Public Member Functions | |
|---|---|
| static StringRef | getHashName () |
| Get the name of the hash for any table identifiers. | |
| static const BuiltinCASContext & | getDefaultContext () |
| static Expected< HashType > | parseID (StringRef PrintedDigest) |
| static void | printID (ArrayRef< uint8_t > Digest, raw_ostream &OS) |
CASContext for LLVM builtin CAS using BLAKE3 hash type.
Definition at line 58 of file BuiltinCASContext.h.
| llvm::cas::builtin::BuiltinCASContext::BuiltinCASContext ( ) | default |
|---|
◆ getDefaultContext()
◆ getHashName()
| StringRef llvm::cas::builtin::BuiltinCASContext::getHashName ( ) | inlinestatic |
|---|
◆ getHashSchemaIdentifier()
| StringRef llvm::cas::builtin::BuiltinCASContext::getHashSchemaIdentifier ( ) const | inlinefinalvirtual |
|---|
Get an identifer for the schema used by this CAS context.
Two CAS instances should return true for this identifier if and only if their CASIDs are safe to compare by hash. This is used by CASID::equalsImpl().
Implements llvm::cas::CASContext.
Definition at line 73 of file BuiltinCASContext.h.
References const, and getHashName().
◆ parseID()
◆ printID()
The documentation for this class was generated from the following files:
- include/llvm/CAS/BuiltinCASContext.h
- lib/CAS/BuiltinCAS.cpp