clang API Documentation

Public Member Functions
clang::CanProxy< T > Class Template Reference

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 <CanonicalType.h>

Inheritance diagram for clang::CanProxy< T >:
Inheritance graph
[legend]
Collaboration diagram for clang::CanProxy< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CanProxy ()
 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.

Detailed Description

template<typename T>
class clang::CanProxy< T >

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 333 of file CanonicalType.h.


Constructor & Destructor Documentation

template<typename T>
clang::CanProxy< T >::CanProxy ( ) [inline]

Build a NULL proxy.

Definition at line 336 of file CanonicalType.h.

template<typename T>
clang::CanProxy< T >::CanProxy ( CanQual< T >  Stored) [inline]

Build a proxy to the given canonical type.

Definition at line 339 of file CanonicalType.h.

References clang::CanProxyBase< T >::Stored.


Member Function Documentation

template<typename T>
clang::CanProxy< T >::operator CanQual< T > ( ) const [inline]

Implicit conversion to the stored canonical type.

Definition at line 342 of file CanonicalType.h.

References clang::CanProxyBase< T >::Stored.


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