class CanProxy

Declaration

template <typename T>
class CanProxy { /* full declaration omitted */ };

Description

Canonical proxy type returned when retrieving the members of a canonical type or as the result of the @c 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.

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

Templates

T

Method Overview

Methods

CanProxy<T>()

Description

Build a NULL proxy.

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

CanProxy<T>(CanQual<T> Stored)

Description

Build a proxy to the given canonical type.

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

Parameters

CanQual<T> Stored

CanQual<T>
operator CanQual<type - parameter - 0 - 0>() const

Description

Implicit conversion to the stored canonical type.

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