Like DefaultFoldingSetTrait, but for ContextualFoldingSets.
Declared in <llvm/ADT/FoldingSet.h>
template<
typename T,
typename Ctx>
struct DefaultContextualFoldingSetTrait;
| Name | Description |
|---|---|
ContextStorage | Holds the fixed context passed to Profile, Equals, and ComputeHash. |
| Name | Description |
|---|---|
ComputeHash | Compute a hash value for X under Context, using TempID to compute a temporary ID if necessary. The default implementation profiles X and hashes the result. Implementations can override this to provide more efficient implementations. |
Equals | Test whether the profile for X matches ID under Context, using TempID to compute a temporary ID if necessary. |
Profile | Gather the unique data bits of X into ID, using Context. |
| Name | Description |
|---|---|
ContextualFoldingSetTrait | Like FoldingSetTrait, but for ContextualFoldingSets. |