clang  6.0.0svn
List of all members
clang::CanProxyAdaptor< T > Struct Template Reference

Replacable canonical proxy adaptor class that provides the link between a canonical type and the accessors of the type. More...

#include "clang/AST/CanonicalType.h"

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

Additional Inherited Members

- Public Member Functions inherited from clang::CanProxyBase< T >
const TgetTypePtr () 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 inherited from clang::CanProxyBase< T >
CanQual< TStored
 

Detailed Description

template<typename T>
struct clang::CanProxyAdaptor< T >

Replacable canonical proxy adaptor class that provides the link between a canonical type and the accessors of the type.

The CanProxyAdaptor is a replaceable class template that is instantiated as part of each canonical proxy type. The primary template merely provides redirection to the underlying type (T), e.g., PointerType. One can provide specializations of this class template for each underlying type that provide accessors returning canonical types (CanQualType) rather than the more typical QualType, to propagate the notion of "canonical" through the system.

Definition at line 25 of file CanonicalType.h.


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