clang 19.0.0git
List of all members
clang::CanProxyAdaptor< T > Struct Template Reference

Replaceable 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]

Additional Inherited Members

- 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< UgetAs () const
 Try to convert the given canonical type to a specific structural type.
 
const CanProxyAdaptor< T > * operator-> () const
 Retrieve the proxy-adaptor type.
 
- Protected Attributes inherited from clang::CanProxyBase< T >
CanQual< T > Stored
 

Detailed Description

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

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


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