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

#include "llvm/Support/Casting.h"

Public Types

using NonConstSimpleType = typename simplify_type< From >::SimpleType
 
using SimpleType = typename add_const_past_pointer< NonConstSimpleType >::type
 
using RetType = typename add_lvalue_reference_if_not_pointer< SimpleType >::type
 

Static Public Member Functions

static RetType getSimplifiedValue (const From &Val)
 

Detailed Description

template<typename From>
struct llvm::simplify_type< const From >

Definition at line 41 of file Casting.h.

Member Typedef Documentation

◆ NonConstSimpleType

template<typename From >
using llvm::simplify_type< const From >::NonConstSimpleType = typename simplify_type<From>::SimpleType

Definition at line 42 of file Casting.h.

◆ RetType

template<typename From >
using llvm::simplify_type< const From >::RetType = typename add_lvalue_reference_if_not_pointer<SimpleType>::type

Definition at line 46 of file Casting.h.

◆ SimpleType

template<typename From >
using llvm::simplify_type< const From >::SimpleType = typename add_const_past_pointer<NonConstSimpleType>::type

Definition at line 44 of file Casting.h.

Member Function Documentation

◆ getSimplifiedValue()

template<typename From >
static RetType llvm::simplify_type< const From >::getSimplifiedValue ( const From &  Val)
inlinestatic

Definition at line 48 of file Casting.h.

References llvm::simplify_type< From >::getSimplifiedValue().


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