clang
9.0.0
|
Public Member Functions | |
ASTTypeWriter (ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) | |
uint64_t | Emit () |
void | Visit (QualType T) |
void | VisitArrayType (const ArrayType *T) |
void | VisitFunctionType (const FunctionType *T) |
void | VisitTagType (const TagType *T) |
Definition at line 137 of file ASTWriter.cpp.
|
inline |
Definition at line 148 of file ASTWriter.cpp.
|
inline |
Definition at line 151 of file ASTWriter.cpp.
References clang::ASTRecordWriter::Emit().
Referenced by getNumberOfModules().
|
inline |
Definition at line 155 of file ASTWriter.cpp.
References clang::ASTRecordWriter::AddTypeRef(), clang::Qualifiers::getAsOpaqueValue(), clang::QualType::getLocalQualifiers(), clang::QualType::getLocalUnqualifiedType(), clang::Type::getTypeClass(), clang::QualType::hasLocalNonFastQualifiers(), clang::ASTRecordWriter::push_back(), and clang::serialization::TYPE_EXT_QUAL.
Referenced by getNumberOfModules().
void ASTTypeWriter::VisitArrayType | ( | const ArrayType * | T | ) |
Definition at line 232 of file ASTWriter.cpp.
References clang::ArrayType::getElementType(), clang::VectorType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::VariableArrayType::getLBracketLoc(), clang::VectorType::getNumElements(), clang::VariableArrayType::getRBracketLoc(), clang::ConstantArrayType::getSize(), clang::VariableArrayType::getSizeExpr(), clang::ArrayType::getSizeModifier(), clang::VectorType::getVectorKind(), clang::serialization::TYPE_CONSTANT_ARRAY, clang::serialization::TYPE_EXT_VECTOR, clang::serialization::TYPE_INCOMPLETE_ARRAY, clang::serialization::TYPE_VARIABLE_ARRAY, and clang::serialization::TYPE_VECTOR.
void ASTTypeWriter::VisitFunctionType | ( | const FunctionType * | T | ) |
Definition at line 269 of file ASTWriter.cpp.
References clang::FunctionType::ExtInfo::getCC(), clang::FunctionType::getExtInfo(), clang::FunctionType::ExtInfo::getHasRegParm(), clang::FunctionType::ExtInfo::getNoCallerSavedRegs(), clang::FunctionType::ExtInfo::getNoCfCheck(), clang::FunctionType::ExtInfo::getNoReturn(), clang::FunctionType::ExtInfo::getProducesResult(), clang::FunctionType::ExtInfo::getRegParm(), clang::FunctionType::getReturnType(), and clang::serialization::TYPE_FUNCTION_NO_PROTO.
void ASTTypeWriter::VisitTagType | ( | const TagType * | T | ) |
Definition at line 386 of file ASTWriter.cpp.
References clang::DependentAddressSpaceType::getAddrSpaceExpr(), clang::SubstTemplateTypeParmPackType::getArgumentPack(), clang::DependentAddressSpaceType::getAttributeLoc(), clang::DependentSizedExtVectorType::getAttributeLoc(), clang::DependentVectorType::getAttributeLoc(), clang::AttributedType::getAttrKind(), clang::ObjCObjectType::getBaseType(), clang::DependentSizedArrayType::getBracketsRange(), clang::CXXRecordDecl::getCanonicalDecl(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::TagDecl::getCanonicalDecl(), clang::Type::getCanonicalTypeInternal(), clang::TagType::getDecl(), clang::TemplateTypeParmType::getDecl(), clang::InjectedClassNameType::getDecl(), clang::ObjCTypeParamType::getDecl(), clang::ObjCInterfaceType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::DependentSizedExtVectorType::getElementType(), clang::DependentVectorType::getElementType(), clang::PipeType::getElementType(), clang::AttributedType::getEquivalentType(), clang::DependentNameType::getIdentifier(), clang::DependentTemplateSpecializationType::getIdentifier(), clang::TemplateTypeParmType::getIndex(), clang::InjectedClassNameType::getInjectedSpecializationType(), clang::ParenType::getInnerType(), clang::TypeWithKeyword::getKeyword(), clang::MacroQualifiedType::getMacroIdentifier(), clang::AttributedType::getModifiedType(), clang::ElaboratedType::getNamedType(), clang::TemplateSpecializationType::getNumArgs(), clang::DependentTemplateSpecializationType::getNumArgs(), clang::PackExpansionType::getNumExpansions(), clang::ObjCProtocolQualifiers< T >::getNumProtocols(), clang::ElaboratedType::getOwnedTagDecl(), clang::PackExpansionType::getPattern(), clang::DependentAddressSpaceType::getPointeeType(), clang::ObjCObjectPointerType::getPointeeType(), clang::ElaboratedType::getQualifier(), clang::DependentNameType::getQualifier(), clang::DependentTemplateSpecializationType::getQualifier(), clang::SubstTemplateTypeParmType::getReplacedParameter(), clang::SubstTemplateTypeParmPackType::getReplacedParameter(), clang::SubstTemplateTypeParmType::getReplacementType(), clang::DependentSizedArrayType::getSizeExpr(), clang::DependentSizedExtVectorType::getSizeExpr(), clang::DependentVectorType::getSizeExpr(), clang::TemplateSpecializationType::getTemplateName(), clang::ObjCObjectType::getTypeArgsAsWritten(), clang::MacroQualifiedType::getUnderlyingType(), clang::AtomicType::getValueType(), clang::DependentVectorType::getVectorKind(), clang::TagType::isBeingDefined(), clang::Type::isCanonicalUnqualified(), clang::Type::isDependentType(), clang::ObjCObjectType::isKindOfTypeAsWritten(), clang::TemplateTypeParmType::isParameterPack(), clang::PipeType::isReadOnly(), clang::ObjCProtocolQualifiers< T >::quals(), clang::serialization::TYPE_ATOMIC, clang::serialization::TYPE_ATTRIBUTED, clang::serialization::TYPE_DEPENDENT_ADDRESS_SPACE, clang::serialization::TYPE_DEPENDENT_NAME, clang::serialization::TYPE_DEPENDENT_SIZED_ARRAY, clang::serialization::TYPE_DEPENDENT_SIZED_EXT_VECTOR, clang::serialization::TYPE_DEPENDENT_SIZED_VECTOR, clang::serialization::TYPE_DEPENDENT_TEMPLATE_SPECIALIZATION, clang::serialization::TYPE_ELABORATED, clang::serialization::TYPE_ENUM, clang::serialization::TYPE_INJECTED_CLASS_NAME, clang::serialization::TYPE_MACRO_QUALIFIED, clang::serialization::TYPE_OBJC_INTERFACE, clang::serialization::TYPE_OBJC_OBJECT, clang::serialization::TYPE_OBJC_OBJECT_POINTER, clang::serialization::TYPE_OBJC_TYPE_PARAM, clang::serialization::TYPE_PACK_EXPANSION, clang::serialization::TYPE_PAREN, clang::serialization::TYPE_PIPE, clang::serialization::TYPE_RECORD, clang::serialization::TYPE_SUBST_TEMPLATE_TYPE_PARM, clang::serialization::TYPE_SUBST_TEMPLATE_TYPE_PARM_PACK, clang::serialization::TYPE_TEMPLATE_SPECIALIZATION, and clang::serialization::TYPE_TEMPLATE_TYPE_PARM.