This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

template<typename T>
class FoldingSetNodeWrapper
    : public FoldingSetNode

Base Classes

Name

Description

FoldingSetNode

Convenience alias for the base node type stored in a folding set.

Member Functions

Name

Description

FoldingSetNodeWrapper [constructor]

Construct a wrapper around a T built from Args.

Profile

Add the wrapped value's profile bits to ID.

getValue

Return a mutable reference to the wrapped value.

getValue

Return a const reference to the wrapped value.

operator T&

Implicit conversion to the wrapped value.

operator T const&

Implicit conversion to the wrapped const value.

Created with MrDocs