clang API Documentation
#include <Type.h>


Public Member Functions | |
| RecordDecl * | getDecl () const |
| bool | hasConstFields () const |
| bool | isSugared () const |
| QualType | desugar () const |
Static Public Member Functions | |
| static bool | classof (const Type *T) |
| static bool | classof (const RecordType *) |
Protected Member Functions | |
| RecordType (const RecordDecl *D) | |
| RecordType (TypeClass TC, RecordDecl *D) | |
Friends | |
| class | ASTContext |
RecordType - This is a helper class that allows the use of isa/cast/dyncast to detect TagType objects of structs/unions/classes.
| clang::RecordType::RecordType | ( | const RecordDecl * | D | ) | [inline, explicit, protected] |
| clang::RecordType::RecordType | ( | TypeClass | TC, |
| RecordDecl * | D | ||
| ) | [inline, explicit, protected] |
| static bool clang::RecordType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented from clang::TagType.
Definition at line 3160 of file Type.h.
References clang::Type::getTypeClass().
| static bool clang::RecordType::classof | ( | const RecordType * | ) | [inline, static] |
| RecordDecl* clang::RecordType::getDecl | ( | ) | const [inline] |
Reimplemented from clang::TagType.
Definition at line 3148 of file Type.h.
References clang::TagType::getDecl().
Referenced by addAssociatedClassesAndNamespaces(), clang::BuiltinCandidateTypeSet::AddTypesConvertedFrom(), BitsContainNoUserData(), clang::CodeGen::CodeGenFunction::BuildAppleKextVirtualCall(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildOverloadedArrowExpr(), canExpandIndirectArgument(), CanTypeidThrow(), clang::Sema::CheckCXXThrowOperand(), checkForLockableRecord(), clang::Sema::CheckMemberOperatorAccess(), clang::Sema::CheckQualifiedMemberReference(), clang::Sema::CheckTransparentUnionArgumentConstraints(), CollectVisibleConversions(), clang::CollectVRQualifiers(), clang::Sema::ConvertToIntegralOrEnumerationType(), clang::Sema::DeclareInheritedConstructors(), DeduceTemplateArguments(), DeduceTemplateArgumentsByTypeMatch(), clang::Sema::DiagnoseNontrivial(), doesUsualArrayDeleteWantSize(), DumpCXXRecordLayout(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitCastLValue(), EmitMemberInitializer(), clang::CodeGen::CodeGenModule::EmitNullConstant(), EvaluateBinaryTypeTrait(), FieldHasTrivialDestructorBody(), FillInNullDataMemberPointers(), clang::Sema::FinalizeVarWithDestructor(), clang::Sema::FindInstantiatedDecl(), clang::CXXRecordDecl::forallBases(), clang::QualType::getBaseTypeIdentifier(), clang::CFGImplicitDtor::getDestructorDecl(), clang::ASTContext::getTypeInfo(), handleAcquireOrderAttr(), hasNonTrivialDestructorOrCopyConstructor(), isCFStringType(), isCharSpecialization(), isEmptyField(), isEmptyRecord(), clang::CodeGen::CodeGenTypes::isFuncTypeArgumentConvertible(), isHomogeneousAggregate(), IsIncompleteClassType(), isIntegerLikeType(), isRecordWithSSEVectorType(), isSafeForCXXConstantCapture(), isSingleElementStruct(), clang::IsTransparentUnionStandardConversion(), LookupMemberExprInRecord(), LookupVisibleDecls(), clang::Sema::MarkBaseAndMemberDestructorsReferenced(), clang::Sema::MaybeBindToTemporary(), clang::Sema::RequireLiteralType(), clang::Sema::RequireNonAbstractType(), clang::ASTContext::setCFConstantStringType(), TryConstructorInitialization(), TryRefInitWithConversionFunction(), TryValueInitialization(), and clang::ASTNodeImporter::VisitRecordType().
friend class ASTContext [friend] |
Reimplemented from clang::Type.