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

Generic profile trait for pointer types. More...

#include "llvm/ADT/ImmutableSet.h"

Public Types

using value_type = const T *
 
using value_type_ref = value_type
 

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, value_type_ref X)
 

Detailed Description

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

Generic profile trait for pointer types.

We treat pointers as references to unique objects.

Definition at line 890 of file ImmutableSet.h.

Member Typedef Documentation

◆ value_type

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

Definition at line 891 of file ImmutableSet.h.

◆ value_type_ref

template<typename T >
using llvm::ImutProfileInfo< T * >::value_type_ref = value_type

Definition at line 892 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 894 of file ImmutableSet.h.

References llvm::FoldingSetNodeID::AddPointer().


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