Like FoldingSetTrait, but for ContextualFoldingSets.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

template<
    typename T,
    typename Ctx>
struct ContextualFoldingSetTrait
    : DefaultContextualFoldingSetTrait<T, Ctx>

Base Classes

Name

Description

DefaultContextualFoldingSetTrait<T, Ctx>

Like DefaultFoldingSetTrait, but for ContextualFoldingSets.

Types

Name

Description

ContextStorage

Holds the fixed context passed to Profile, Equals, and ComputeHash.

Static Member Functions

Name

Description

ComputeHash

Compute a hash value for X under Context.

Equals

Return whether X's profile matches ID under Context.

Profile

Gather the unique data bits of X into ID, using Context.

Created with MrDocs