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

Define a template that can be specialized by smart pointers to reflect the fact that they are automatically dereferenced, and are not involved with the template selection process... the default implementation is a noop. More...

#include "llvm/Support/Casting.h"

Public Types

using SimpleType = From
 

Static Public Member Functions

static SimpleTypegetSimplifiedValue (From &Val)
 

Detailed Description

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

Define a template that can be specialized by smart pointers to reflect the fact that they are automatically dereferenced, and are not involved with the template selection process... the default implementation is a noop.

Definition at line 34 of file Casting.h.

Member Typedef Documentation

◆ SimpleType

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

Definition at line 35 of file Casting.h.

Member Function Documentation

◆ getSimplifiedValue()

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

Definition at line 38 of file Casting.h.

Referenced by llvm::simplify_type< const From >::getSimplifiedValue().


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