LLVM 22.0.0git
llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > > Struct Template Reference

Allow ilist_iterators to convert into pointers to a node automatically when used by the dyn_cast, cast, isa mechanisms... More...

#include "llvm/ADT/ilist_iterator.h"

Inheritance diagram for llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > >:
[legend]

Public Types

using iterator = ilist_iterator<OptionsT, false, IsConst>
using SimpleType = typename iterator::pointer

Static Public Member Functions

static SimpleType getSimplifiedValue (const iterator &Node)

Detailed Description

template<class OptionsT, bool IsConst>
struct llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > >

Allow ilist_iterators to convert into pointers to a node automatically when used by the dyn_cast, cast, isa mechanisms...

FIXME: remove this, since there is no implicit conversion to NodeTy.

Definition at line 382 of file ilist_iterator.h.

Member Typedef Documentation

◆ iterator

template<class OptionsT, bool IsConst>
using llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > >::iterator = ilist_iterator<OptionsT, false, IsConst>

Definition at line 383 of file ilist_iterator.h.

◆ SimpleType

template<class OptionsT, bool IsConst>
using llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > >::SimpleType = typename iterator::pointer

Definition at line 384 of file ilist_iterator.h.

Member Function Documentation

◆ getSimplifiedValue()

template<class OptionsT, bool IsConst>
SimpleType llvm::simplify_type< ilist_iterator< OptionsT, false, IsConst > >::getSimplifiedValue ( const iterator & Node)
inlinestatic

Definition at line 386 of file ilist_iterator.h.


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