LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > > Struct Template Reference

#include "llvm/Support/Casting.h"

Public Types

using UnwrappedType = T
 

Static Public Member Functions

static bool isPresent (const T &t)
 
static decltype(auto) unwrapValue (T &t)
 

Detailed Description

template<typename T>
struct llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >

Definition at line 620 of file Casting.h.

Member Typedef Documentation

◆ UnwrappedType

template<typename T >
using llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::UnwrappedType = T

Definition at line 621 of file Casting.h.

Member Function Documentation

◆ isPresent()

template<typename T >
static bool llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::isPresent ( const T t)
inlinestatic

Definition at line 622 of file Casting.h.

References T.

◆ unwrapValue()

template<typename T >
static decltype(auto) llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::unwrapValue ( T t)
inlinestatic

Definition at line 623 of file Casting.h.


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