LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::ImutProfileInfo< T > Struct Template Reference

Generic profile template. More...

#include "llvm/ADT/ImmutableSet.h"

Inheritance diagram for llvm::ImutProfileInfo< T >:
Inheritance graph
[legend]

Public Types

using value_type = const T
 
using value_type_ref = const T &
 

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, value_type_ref X)
 

Detailed Description

template<typename T>
struct llvm::ImutProfileInfo< T >

Generic profile template.

The default behavior is to invoke the profile method of an object. Specializations for primitive integers and generic handling of pointers is done below.

Definition at line 840 of file ImmutableSet.h.

Member Typedef Documentation

◆ value_type

template<typename T>
using llvm::ImutProfileInfo< T >::value_type = const T

Definition at line 841 of file ImmutableSet.h.

◆ value_type_ref

template<typename T>
using llvm::ImutProfileInfo< T >::value_type_ref = const T&

Definition at line 842 of file ImmutableSet.h.

Member Function Documentation

◆ Profile()

template<typename T>
static void llvm::ImutProfileInfo< T >::Profile ( FoldingSetNodeID ID,
value_type_ref  X 
)
inlinestatic

Definition at line 844 of file ImmutableSet.h.

Referenced by llvm::ImutKeyValueInfo< T, S >::Profile().


The documentation for this struct was generated from the following file: