clang  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::simplify_type< ::clang::CanQual< T > > Struct Template Reference

Implement simplify_type for CanQual<T>, so that we can dyn_cast from CanQual<T> to a specific Type class. More...

#include "clang/AST/CanonicalType.h"

Public Types

typedef const T * SimpleType
 

Static Public Member Functions

static SimpleType getSimplifiedValue (::clang::CanQual< T > Val)
 

Detailed Description

template<typename T>
struct llvm::simplify_type< ::clang::CanQual< T > >

Implement simplify_type for CanQual<T>, so that we can dyn_cast from CanQual<T> to a specific Type class.

We're prefer isa/dyn_cast/cast/etc. to return smart pointer (proxies?).

Definition at line 353 of file CanonicalType.h.

Member Typedef Documentation

◆ SimpleType

template<typename T >
typedef const T* llvm::simplify_type< ::clang::CanQual< T > >::SimpleType

Definition at line 354 of file CanonicalType.h.

Member Function Documentation

◆ getSimplifiedValue()

template<typename T >
static SimpleType llvm::simplify_type< ::clang::CanQual< T > >::getSimplifiedValue ( ::clang::CanQual< T >  Val)
inlinestatic

Definition at line 355 of file CanonicalType.h.

References clang::CanQual< T >::getTypePtr().


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