LLVM 22.0.0git
|
Hasher for stored objects in builtin CAS. More...
#include "llvm/CAS/BuiltinObjectHasher.h"
Public Types | |
using | HashT = decltype(HasherT::hash(std::declval< ArrayRef< uint8_t > & >())) |
Static Public Member Functions | |
static HashT | hashObject (const ObjectStore &CAS, ArrayRef< ObjectRef > Refs, ArrayRef< char > Data) |
static HashT | hashObject (ArrayRef< ArrayRef< uint8_t > > Refs, ArrayRef< char > Data) |
Hasher for stored objects in builtin CAS.
Definition at line 18 of file BuiltinObjectHasher.h.
using llvm::cas::BuiltinObjectHasher< HasherT >::HashT = decltype(HasherT::hash(std::declval<ArrayRef<uint8_t> &>())) |
Definition at line 20 of file BuiltinObjectHasher.h.
|
inlinestatic |
Definition at line 32 of file BuiltinObjectHasher.h.
References llvm::Data, H, and llvm::Ref.
|
inlinestatic |
Definition at line 22 of file BuiltinObjectHasher.h.
References llvm::Data, H, llvm::Ref, and llvm::ArrayRef< T >::size().
Referenced by llvm::cas::builtin::BuiltinCAS::validate().