clang API Documentation
#include <Type.h>


Public Member Functions | |
| bool | isSpelledAsLValue () const |
| bool | isInnerRef () const |
| QualType | getPointeeTypeAsWritten () const |
| QualType | getPointeeType () const |
| void | Profile (llvm::FoldingSetNodeID &ID) |
Static Public Member Functions | |
| static void | Profile (llvm::FoldingSetNodeID &ID, QualType Referencee, bool SpelledAsLValue) |
| static bool | classof (const Type *T) |
| static bool | classof (const ReferenceType *) |
Protected Member Functions | |
| ReferenceType (TypeClass tc, QualType Referencee, QualType CanonicalRef, bool SpelledAsLValue) | |
ReferenceType - Base for LValueReferenceType and RValueReferenceType
| static bool clang::ReferenceType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented from clang::Type.
Reimplemented in clang::RValueReferenceType, and clang::LValueReferenceType.
Definition at line 1979 of file Type.h.
References clang::Type::getTypeClass().
| static bool clang::ReferenceType::classof | ( | const ReferenceType * | ) | [inline, static] |
| QualType clang::ReferenceType::getPointeeType | ( | ) | const [inline] |
getPointeeType - If this is a pointer, ObjC object pointer, or block pointer, this returns the respective pointee.
Reimplemented from clang::Type.
Definition at line 1961 of file Type.h.
References isInnerRef().
Referenced by AdjustFunctionParmAndArgTypesForDeduction(), ClassifyUnnamed(), clang::CodeGen::CodeGenTypes::ConvertType(), DeduceTemplateArgumentsByTypeMatch(), clang::FindConversionForRefInit(), clang::ASTContext::getLValueReferenceType(), clang::ASTContext::getRValueReferenceType(), clang::getSimplifiedTypeClass(), clang::ASTContext::getVariableArrayDecayedType(), clang::CXXConstructorDecl::isCopyOrMoveConstructor(), TryLValueToRValueCast(), and TryStaticReferenceDowncast().
| QualType clang::ReferenceType::getPointeeTypeAsWritten | ( | ) | const [inline] |
Definition at line 1960 of file Type.h.
Referenced by IsStructurallyEquivalent(), clang::TreeTransform< Derived >::TransformReferenceType(), clang::ASTNodeImporter::VisitLValueReferenceType(), and clang::ASTNodeImporter::VisitRValueReferenceType().
| bool clang::ReferenceType::isInnerRef | ( | ) | const [inline] |
Definition at line 1958 of file Type.h.
Referenced by getPointeeType(), and IsStructurallyEquivalent().
| bool clang::ReferenceType::isSpelledAsLValue | ( | ) | const [inline] |
Definition at line 1957 of file Type.h.
Referenced by clang::ASTContext::getVariableArrayDecayedType(), IsStructurallyEquivalent(), clang::InitializationSequence::Perform(), and clang::TreeTransform< Derived >::TransformReferenceType().
| void clang::ReferenceType::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | [inline] |
Definition at line 1969 of file Type.h.
Referenced by clang::ASTContext::getLValueReferenceType(), and clang::ASTContext::getRValueReferenceType().
| static void clang::ReferenceType::Profile | ( | llvm::FoldingSetNodeID & | ID, |
| QualType | Referencee, | ||
| bool | SpelledAsLValue | ||
| ) | [inline, static] |
Definition at line 1972 of file Type.h.
References clang::QualType::getAsOpaquePtr().