class HashBuilderBase

Declaration

template <typename HasherT>
class HashBuilderBase { /* full declaration omitted */ };

Description

Declares the hasher member, and functions forwarding directly to the hasher.

Declared at: llvm/include/llvm/Support/HashBuilder.h:40

Templates

HasherT

Member Variables

private Optional<HasherT> OptionalHasher
private HasherT& Hasher

Method Overview

  • protected HashBuilderBase<HasherT>(HasherT & Hasher)
  • protected template <typename... ArgTypes> HashBuilderBase<HasherT>(ArgTypes &&... Args)
  • public template <typename HasherT_ = HasherT>HashResultTy<HasherT_> final()
  • public HasherT & getHasher()
  • public template <typename HasherT_ = HasherT>HashResultTy<HasherT_> result()
  • public void update(ArrayRef<uint8_t> Data)
  • public void update(llvm::StringRef Data)

Methods

HashBuilderBase<HasherT>(HasherT& Hasher)

Declared at: llvm/include/llvm/Support/HashBuilder.h:75

Parameters

HasherT& Hasher

template <typename... ArgTypes>
HashBuilderBase<HasherT>(ArgTypes&&... Args)

Declared at: llvm/include/llvm/Support/HashBuilder.h:78

Templates

ArgTypes

Parameters

ArgTypes&&... Args

template <typename HasherT_ = HasherT>
HashResultTy<HasherT_> final()

Description

Forward to `HasherT::final()` if available.

Declared at: llvm/include/llvm/Support/HashBuilder.h:65

Templates

HasherT_ = HasherT

HasherT& getHasher()

Declared at: llvm/include/llvm/Support/HashBuilder.h:45

template <typename HasherT_ = HasherT>
HashResultTy<HasherT_> result()

Description

Forward to `HasherT::result()` if available.

Declared at: llvm/include/llvm/Support/HashBuilder.h:70

Templates

HasherT_ = HasherT

void update(ArrayRef<uint8_t> Data)

Description

Forward to `HasherT::update(ArrayRef <uint8 _t>)`. This may not take the size of `Data` into account. Users of this function should pay attention to respect endianness contraints.

Declared at: llvm/include/llvm/Support/HashBuilder.h:52

Parameters

ArrayRef<uint8_t> Data

void update(llvm::StringRef Data)

Description

Forward to `HasherT::update(ArrayRef <uint8 _t>)`. This may not take the size of `Data` into account. Users of this function should pay attention to respect endianness contraints.

Declared at: llvm/include/llvm/Support/HashBuilder.h:59

Parameters

llvm::StringRef Data