struct CanProxyAdaptor

Declaration

template <typename T>
struct CanProxyAdaptor { /* full declaration omitted */ };

Description

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., @c PointerType. One can provide specializations of this class template for each underlying type that provide accessors returning canonical types (@c CanQualType) rather than the more typical @c QualType, to propagate the notion of "canonical" through the system.

Declared at: clang/include/clang/AST/CanonicalType.h:339

Templates

T