LLVM 22.0.0git
llvm::simplify_type< const From > Struct Template Reference

#include "llvm/Support/Casting.h"

Inheritance diagram for llvm::simplify_type< const From >:
[legend]

Public Types

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

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
Initial value:
std::conditional_t< std::is_pointer_v< T >, T, T & > type
Definition type_traits.h:42

Definition at line 44 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 43 of file Casting.h.

Member Function Documentation

◆ getSimplifiedValue()

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

Definition at line 47 of file Casting.h.

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


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