|
clang 22.0.0git
|
Canonical proxy type returned when retrieving the members of a canonical type or as the result of the CanQual<T>::getAs member function.
More...
#include "clang/AST/CanonicalType.h"
Public Member Functions | |
| CanProxy ()=default | |
| Build a NULL proxy. | |
| CanProxy (CanQual< T > Stored) | |
| Build a proxy to the given canonical type. | |
| operator CanQual< T > () const | |
| Implicit conversion to the stored canonical type. | |
| Public Member Functions inherited from clang::CanProxyBase< T > | |
| const T * | getTypePtr () const |
| Retrieve the pointer to the underlying Type. | |
| operator const T * () const | |
| Implicit conversion to the underlying pointer. | |
| template<typename U> | |
| CanProxy< U > | getAs () const |
| Try to convert the given canonical type to a specific structural type. | |
| const CanProxyAdaptor< T > * | operator-> () const |
| Retrieve the proxy-adaptor type. | |
Additional Inherited Members | |
| Protected Attributes inherited from clang::CanProxyBase< T > | |
| CanQual< T > | Stored |
Canonical proxy type returned when retrieving the members of a canonical type or as the result of the CanQual<T>::getAs member function.
The CanProxy type mainly exists as a proxy through which operator-> will look to either map down to a raw T* (e.g., PointerType*) or to a proxy type that provides canonical-type access to the fields of the type.
Definition at line 350 of file CanonicalType.h.
|
default |
Build a NULL proxy.
|
inline |
Build a proxy to the given canonical type.
Definition at line 356 of file CanonicalType.h.
References clang::CanProxyBase< T >::Stored.
|
inline |
Implicit conversion to the stored canonical type.
Definition at line 359 of file CanonicalType.h.
References clang::CanProxyBase< T >::Stored.