clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
clang::AdjustedType Class Reference

Represents a type which was implicitly adjusted by the semantic engine for arbitrary reasons. For example, array and function types can decay, and function types can have their calling conventions adjusted. More...

#include <Type.h>

Inheritance diagram for clang::AdjustedType:
Inheritance graph
[legend]
Collaboration diagram for clang::AdjustedType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

QualType getOriginalType () const
QualType getAdjustedType () const
bool isSugared () const
QualType desugar () const
void Profile (llvm::FoldingSetNodeID &ID)

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, QualType Orig, QualType New)
static bool classof (const Type *T)

Protected Member Functions

 AdjustedType (TypeClass TC, QualType OriginalTy, QualType AdjustedTy, QualType CanonicalPtr)

Friends

class ASTContext

Detailed Description

Represents a type which was implicitly adjusted by the semantic engine for arbitrary reasons. For example, array and function types can decay, and function types can have their calling conventions adjusted.

Definition at line 2007 of file Type.h.


Constructor & Destructor Documentation

clang::AdjustedType::AdjustedType ( TypeClass  TC,
QualType  OriginalTy,
QualType  AdjustedTy,
QualType  CanonicalPtr 
) [inline, protected]

Definition at line 2012 of file Type.h.


Member Function Documentation

static bool clang::AdjustedType::classof ( const Type T) [inline, static]

Reimplemented in clang::DecayedType.

Definition at line 2037 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 2027 of file Type.h.

Definition at line 2024 of file Type.h.

Definition at line 2023 of file Type.h.

Definition at line 2026 of file Type.h.

void clang::AdjustedType::Profile ( llvm::FoldingSetNodeID &  ID) [inline]
static void clang::AdjustedType::Profile ( llvm::FoldingSetNodeID &  ID,
QualType  Orig,
QualType  New 
) [inline, static]

Definition at line 2032 of file Type.h.

References clang::QualType::getAsOpaquePtr().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Reimplemented in clang::DecayedType.

Definition at line 2020 of file Type.h.


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