struct DynTypedNode::DynCastPtrConverter
Declaration
template <typename T, typename BaseT>
struct DynTypedNode::DynCastPtrConverter { /* full declaration omitted */ };
Description
Converter that uses dyn_cast <T > from a stored BaseT*.
Declared at: clang/include/clang/AST/ASTTypeTraits.h:411
Templates
- T
- BaseT
Method Overview
- public static clang::DynTypedNode create(const BaseT & Node)
- public static const T * get(clang::ASTNodeKind NodeKind, const void * Storage)
- public static const T & getUnchecked(clang::ASTNodeKind NodeKind, const void * Storage)
Methods
¶static clang::DynTypedNode create(
const BaseT& Node)
static clang::DynTypedNode create(
const BaseT& Node)
Declared at: clang/include/clang/AST/ASTTypeTraits.h:422
Parameters
- const BaseT& Node
¶static const T* get(clang::ASTNodeKind NodeKind,
const void* Storage)
static const T* get(clang::ASTNodeKind NodeKind,
const void* Storage)
Declared at: clang/include/clang/AST/ASTTypeTraits.h:412
Parameters
- clang::ASTNodeKind NodeKind
- const void* Storage
¶static const T& getUnchecked(
clang::ASTNodeKind NodeKind,
const void* Storage)
static const T& getUnchecked(
clang::ASTNodeKind NodeKind,
const void* Storage)
Declared at: clang/include/clang/AST/ASTTypeTraits.h:417
Parameters
- clang::ASTNodeKind NodeKind
- const void* Storage