LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
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 > >:
Inheritance graph
[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 187 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 188 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 189 of file ilist_iterator.h.

Member Function Documentation

◆ getSimplifiedValue()

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

Definition at line 191 of file ilist_iterator.h.


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