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) |
Protected Member Functions | |
| ReferenceType (TypeClass tc, QualType Referencee, QualType CanonicalRef, bool SpelledAsLValue) | |
ReferenceType - Base for LValueReferenceType and RValueReferenceType
| clang::ReferenceType::ReferenceType | ( | TypeClass | tc, |
| QualType | Referencee, | ||
| QualType | CanonicalRef, | ||
| bool | SpelledAsLValue | ||
| ) | [inline, protected] |
Definition at line 2103 of file Type.h.
References clang::Type::isReferenceType().
| static bool clang::ReferenceType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented in clang::RValueReferenceType, and clang::LValueReferenceType.
Definition at line 2138 of file Type.h.
References clang::Type::getTypeClass().
| 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 2120 of file Type.h.
References clang::Type::castAs(), and isInnerRef().
Referenced by AdjustFunctionParmAndArgTypesForDeduction(), clang::Sema::BuildExceptionDeclaration(), ClassifyUnnamed(), clang::CodeGen::CodeGenTypes::ConvertType(), DeduceTemplateArgumentsByTypeMatch(), FindConversionForRefInit(), clang::ASTContext::getLValueReferenceType(), clang::ASTContext::getRValueReferenceType(), clang::getSimplifiedTypeClass(), clang::ASTContext::getVariableArrayDecayedType(), clang::CXXConstructorDecl::isCopyOrMoveConstructor(), clang::Sema::SpecialMemberIsTrivial(), TryLValueToRValueCast(), and TryStaticReferenceDowncast().
| QualType clang::ReferenceType::getPointeeTypeAsWritten | ( | ) | const [inline] |
Definition at line 2119 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 2117 of file Type.h.
Referenced by getPointeeType(), and IsStructurallyEquivalent().
| bool clang::ReferenceType::isSpelledAsLValue | ( | ) | const [inline] |
Definition at line 2116 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 2128 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 2131 of file Type.h.
References clang::QualType::getAsOpaquePtr().