clang
7.0.0
|
Base class of all canonical proxy types, which is responsible for storing the underlying canonical type and providing basic conversions. More...
#include "clang/AST/CanonicalType.h"
Public Member Functions | |
const T * | getTypePtr () const |
Retrieve the pointer to the underlying Type. More... | |
operator const T * () const | |
Implicit conversion to the underlying pointer. More... | |
template<typename U > | |
CanProxy< U > | getAs () const |
Try to convert the given canonical type to a specific structural type. More... | |
const CanProxyAdaptor< T > * | operator-> () const |
Retrieve the proxy-adaptor type. More... | |
Protected Attributes | |
CanQual< T > | Stored |
Base class of all canonical proxy types, which is responsible for storing the underlying canonical type and providing basic conversions.
Definition at line 240 of file CanonicalType.h.
|
inline |
Try to convert the given canonical type to a specific structural type.
Definition at line 259 of file CanonicalType.h.
|
inline |
Retrieve the pointer to the underlying Type.
Definition at line 246 of file CanonicalType.h.
|
inline |
Implicit conversion to the underlying pointer.
Also provides the ability to use canonical type proxies in a Boolean
Definition at line 255 of file CanonicalType.h.
|
inline |
Retrieve the proxy-adaptor type.
This arrow operator is used when CanProxyAdaptor has been specialized for the given type T. In that case, we reference members of the CanProxyAdaptor specialization. Otherwise, this operator will be hidden by the arrow operator in the primary CanProxyAdaptor template.
Definition at line 322 of file CanonicalType.h.
|
protected |
Definition at line 242 of file CanonicalType.h.