clang API Documentation
Definition at line 34 of file ASTWriterDecl.cpp.
clang::ASTDeclWriter::ASTDeclWriter | ( | ASTWriter & | Writer, |
ASTContext & | Context, | ||
RecordData & | Record | ||
) | [inline] |
Definition at line 45 of file ASTWriterDecl.cpp.
void clang::ASTDeclWriter::AddFunctionDefinition | ( | const FunctionDecl * | FD | ) | [inline] |
Definition at line 134 of file ASTWriterDecl.cpp.
References clang::FunctionDecl::doesThisDeclarationHaveABody(), clang::FunctionDecl::getBody(), and Record.
void ASTDeclWriter::Visit | ( | Decl * | D | ) |
Definition at line 144 of file ASTWriterDecl.cpp.
References Record.
void ASTDeclWriter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 1108 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_ACCESS_SPEC, clang::AccessSpecDecl::getColonLoc(), and Record.
void ASTDeclWriter::VisitBlockDecl | ( | BlockDecl * | D | ) |
Definition at line 855 of file ASTWriterDecl.cpp.
References clang::BlockDecl::blockMissingReturnType(), clang::BlockDecl::captures(), clang::BlockDecl::capturesCXXThis(), clang::serialization::DECL_BLOCK, clang::BlockDecl::getBody(), clang::BlockDecl::getNumCaptures(), clang::BlockDecl::getSignatureAsWritten(), clang::BlockDecl::isConversionFromLambda(), clang::BlockDecl::isVariadic(), P, clang::BlockDecl::param_begin(), clang::BlockDecl::param_end(), clang::BlockDecl::param_size(), and Record.
void ASTDeclWriter::VisitCapturedDecl | ( | CapturedDecl * | D | ) |
Definition at line 883 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CAPTURED, clang::CapturedDecl::getContextParamPosition(), clang::CapturedDecl::getNumParams(), clang::CapturedDecl::getParam(), clang::CapturedDecl::isNothrow(), and Record.
void ASTDeclWriter::VisitClassScopeFunctionSpecializationDecl | ( | ClassScopeFunctionSpecializationDecl * | D | ) |
Definition at line 1322 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CLASS_SCOPE_FUNCTION_SPECIALIZATION, clang::ClassScopeFunctionSpecializationDecl::getSpecialization(), and Record.
Definition at line 1171 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CLASS_TEMPLATE, clang::ClassTemplateDecl::getPartialSpecializations(), clang::ClassTemplateDecl::getSpecializations(), clang::Redeclarable< decl_type >::isFirstDecl(), and Record.
void ASTDeclWriter::VisitClassTemplatePartialSpecializationDecl | ( | ClassTemplatePartialSpecializationDecl * | D | ) |
Definition at line 1230 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CLASS_TEMPLATE_PARTIAL_SPECIALIZATION, clang::ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember(), clang::CXXRecordDecl::getPreviousDecl(), clang::ClassTemplatePartialSpecializationDecl::getTemplateArgsAsWritten(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::ClassTemplatePartialSpecializationDecl::isMemberSpecialization(), and Record.
Definition at line 1195 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CLASS_TEMPLATE_SPECIALIZATION, clang::ClassTemplateDecl::getCanonicalDecl(), clang::ClassTemplateSpecializationDecl::getExternLoc(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplateOrPartial(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplateSpecializationDecl::getTemplateInstantiationArgs(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), clang::Decl::isCanonicalDecl(), and Record.
Definition at line 1065 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CXX_CONSTRUCTOR, clang::CXXConstructorDecl::getInheritedConstructor(), and Record.
Definition at line 1084 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CXX_CONVERSION, and Record.
Definition at line 1076 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_CXX_DESTRUCTOR, and Record.
void ASTDeclWriter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 1039 of file ASTWriterDecl.cpp.
References clang::CXXMethodDecl::begin_overridden_methods(), clang::serialization::DECL_CXX_METHOD, clang::CXXMethodDecl::end_overridden_methods(), clang::NamedDecl::getDeclName(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::CXXMethodDecl::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::Decl::hasAttrs(), clang::FunctionDecl::hasInheritedPrototype(), clang::FunctionDecl::hasWrittenPrototype(), clang::DeclarationName::Identifier, clang::Decl::isCanonicalDecl(), clang::Decl::isInvalidDecl(), clang::Decl::isTopLevelDeclInObjCContainer(), Record, and clang::CXXMethodDecl::size_overridden_methods().
void ASTDeclWriter::VisitCXXRecordDecl | ( | CXXRecordDecl * | D | ) |
Definition at line 1008 of file ASTWriterDecl.cpp.
References Context, clang::serialization::DECL_CXX_RECORD, clang::ASTContext::getCurrentKeyFunction(), clang::CXXRecordDecl::getDescribedClassTemplate(), clang::CXXRecordDecl::getMemberSpecializationInfo(), clang::TagDecl::isThisDeclarationADefinition(), and Record.
void ASTDeclWriter::VisitDecl | ( | Decl * | D | ) |
Definition at line 164 of file ASTWriterDecl.cpp.
References clang::Decl::getAccess(), clang::Decl::getAttrs(), clang::Decl::getDeclContext(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::DeclContext::getParent(), clang::Decl::hasAttrs(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::Decl::isOutOfLine(), clang::Decl::isReferenced(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), and Record.
void ASTDeclWriter::VisitDeclaratorDecl | ( | DeclaratorDecl * | D | ) |
Definition at line 356 of file ASTWriterDecl.cpp.
References clang::DeclaratorDecl::getInnerLocStart(), and Record.
void ASTDeclWriter::VisitDeclContext | ( | DeclContext * | DC, |
uint64_t | LexicalOffset, | ||
uint64_t | VisibleOffset | ||
) |
Emit the DeclContext part of a declaration context decl.
LexicalOffset | the offset at which the DECL_CONTEXT_LEXICAL block for this declaration context is stored. May be 0 to indicate that there are no declarations stored within this context. |
VisibleOffset | the offset at which the DECL_CONTEXT_VISIBLE block for this declaration context is stored. May be 0 to indicate that there are no declarations visible from this context. Note that this value will not be emitted for non-primary declaration contexts. |
Definition at line 1442 of file ASTWriterDecl.cpp.
References Record.
void ASTDeclWriter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 850 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_EMPTY.
void ASTDeclWriter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 346 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_ENUM_CONSTANT, clang::EnumConstantDecl::getInitExpr(), clang::EnumConstantDecl::getInitVal(), and Record.
void ASTDeclWriter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 273 of file ASTWriterDecl.cpp.
References clang::AS_none, clang::CXXRecordDecl::classofKind(), clang::serialization::DECL_ENUM, clang::Decl::getAccess(), clang::TagDecl::getDeclaratorForAnonDecl(), clang::NamedDecl::getDeclName(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::EnumDecl::getIntegerType(), clang::EnumDecl::getIntegerTypeSourceInfo(), clang::Decl::getKind(), clang::EnumDecl::getMemberSpecializationInfo(), clang::EnumDecl::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::Decl::hasAttrs(), clang::DeclarationName::Identifier, clang::EnumDecl::isFixed(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::Decl::isReferenced(), clang::EnumDecl::isScoped(), clang::EnumDecl::isScopedUsingClassTag(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), clang::serialization::needsAnonymousDeclarationNumber(), and Record.
void ASTDeclWriter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 677 of file ASTWriterDecl.cpp.
References clang::ObjCIvarDecl::classofKind(), clang::ObjCAtDefsFieldDecl::classofKind(), Context, clang::serialization::DECL_FIELD, clang::FieldDecl::getBitWidth(), clang::NamedDecl::getDeclName(), clang::ASTContext::getInstantiatedFromUnnamedFieldDecl(), clang::Decl::getKind(), clang::Decl::hasAttrs(), clang::FieldDecl::hasInClassInitializer(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::FieldDecl::isMutable(), clang::Decl::isReferenced(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), and Record.
void ASTDeclWriter::VisitFileScopeAsmDecl | ( | FileScopeAsmDecl * | D | ) |
Definition at line 843 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_FILE_SCOPE_ASM, clang::FileScopeAsmDecl::getAsmString(), clang::FileScopeAsmDecl::getRParenLoc(), and Record.
void ASTDeclWriter::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 1114 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_FRIEND, clang::FriendDecl::getFriendDecl(), clang::FriendDecl::getFriendType(), clang::FriendDecl::getFriendTypeTemplateParameterList(), and Record.
Definition at line 1134 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_FRIEND_TEMPLATE, clang::FriendTemplateDecl::getFriendDecl(), clang::FriendTemplateDecl::getFriendLoc(), clang::FriendTemplateDecl::getFriendType(), clang::FriendTemplateDecl::getNumTemplateParameters(), clang::FriendTemplateDecl::getTemplateParameterList(), and Record.
void ASTDeclWriter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 364 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_FUNCTION, clang::FunctionTemplateDecl::getCanonicalDecl(), clang::NamedDecl::getDeclName(), clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::Decl::getIdentifierNamespace(), clang::MemberSpecializationInfo::getInstantiatedFrom(), clang::DependentFunctionTemplateSpecializationInfo::getLAngleLoc(), clang::NamedDecl::getLinkageInternal(), clang::Decl::getLocEnd(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::DependentFunctionTemplateSpecializationInfo::getNumTemplateArgs(), clang::DependentFunctionTemplateSpecializationInfo::getNumTemplates(), clang::FunctionTemplateSpecializationInfo::getPointOfInstantiation(), clang::MemberSpecializationInfo::getPointOfInstantiation(), clang::DependentFunctionTemplateSpecializationInfo::getRAngleLoc(), clang::FunctionDecl::getStorageClass(), clang::FunctionTemplateSpecializationInfo::getTemplate(), clang::DependentFunctionTemplateSpecializationInfo::getTemplate(), clang::DependentFunctionTemplateSpecializationInfo::getTemplateArg(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionTemplateSpecializationInfo::getTemplateSpecializationKind(), clang::MemberSpecializationInfo::getTemplateSpecializationKind(), clang::FunctionDecl::hasImplicitReturnZero(), clang::FunctionDecl::hasInheritedPrototype(), clang::FunctionDecl::hasWrittenPrototype(), clang::Decl::isCanonicalDecl(), clang::FunctionDecl::isConstexpr(), clang::FunctionDecl::isDefaulted(), clang::FunctionDecl::isDeletedAsWritten(), clang::FunctionDecl::isExplicitlyDefaulted(), clang::FunctionDecl::isInlineSpecified(), clang::FunctionDecl::isLateTemplateParsed(), clang::FunctionDecl::isPure(), clang::FunctionDecl::isTrivial(), clang::FunctionDecl::isVirtualAsWritten(), clang::ASTTemplateArgumentListInfo::LAngleLoc, clang::ASTTemplateArgumentListInfo::NumTemplateArgs, P, clang::FunctionDecl::param_size(), clang::FunctionDecl::params(), clang::ASTTemplateArgumentListInfo::RAngleLoc, Record, clang::FunctionTemplateSpecializationInfo::TemplateArguments, clang::FunctionTemplateSpecializationInfo::TemplateArgumentsAsWritten, clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.
Definition at line 1330 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_FUNCTION_TEMPLATE, clang::FunctionTemplateDecl::getSpecializations(), clang::Redeclarable< decl_type >::isFirstDecl(), and Record.
Definition at line 792 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_IMPLICIT_PARAM.
void ASTDeclWriter::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 1090 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_IMPORT, clang::ImportDecl::getIdentifierLocs(), clang::ImportDecl::getImportedModule(), clang::Decl::getLocEnd(), and Record.
Definition at line 720 of file ASTWriterDecl.cpp.
References clang::IndirectFieldDecl::chain(), clang::serialization::DECL_INDIRECTFIELD, clang::IndirectFieldDecl::getChainingSize(), P, and Record.
void ASTDeclWriter::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 902 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_LABEL, clang::Decl::getLocStart(), and Record.
void ASTDeclWriter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 894 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_LINKAGE_SPEC, clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::LinkageSpecDecl::getRBraceLoc(), and Record.
void ASTDeclWriter::VisitMSPropertyDecl | ( | MSPropertyDecl * | D | ) |
Definition at line 713 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_MS_PROPERTY, clang::MSPropertyDecl::getGetterId(), clang::MSPropertyDecl::getSetterId(), and Record.
void ASTDeclWriter::VisitNamedDecl | ( | NamedDecl * | D | ) |
Definition at line 203 of file ASTWriterDecl.cpp.
References clang::NamedDecl::getDeclName(), clang::serialization::needsAnonymousDeclarationNumber(), and Record.
void ASTDeclWriter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 909 of file ASTWriterDecl.cpp.
References clang::DeclContext::buildLookup(), clang::serialization::DECL_NAMESPACE, clang::NamespaceDecl::getAnonymousNamespace(), clang::NamespaceDecl::getLocStart(), clang::NamedDecl::getMostRecentDecl(), clang::NamespaceDecl::getOriginalNamespace(), clang::DeclContext::getParent(), clang::DeclContext::getPrimaryContext(), clang::NamespaceDecl::getRBraceLoc(), clang::DeclContext::getRedeclContext(), clang::NamespaceDecl::isAnonymousNamespace(), clang::Decl::isFromASTFile(), clang::NamespaceDecl::isInline(), clang::NamespaceDecl::isOriginalNamespace(), Record, and clang::serialization::UPD_CXX_ADDED_ANONYMOUS_NAMESPACE.
Definition at line 1359 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_EXPANDED_NON_TYPE_TEMPLATE_PARM_PACK, clang::serialization::DECL_NON_TYPE_TEMPLATE_PARM, clang::NonTypeTemplateParmDecl::defaultArgumentWasInherited(), clang::NonTypeTemplateParmDecl::getDefaultArgument(), clang::TemplateParmPosition::getDepth(), clang::NonTypeTemplateParmDecl::getExpansionType(), clang::NonTypeTemplateParmDecl::getExpansionTypeSourceInfo(), clang::NonTypeTemplateParmDecl::getNumExpansionTypes(), clang::TemplateParmPosition::getPosition(), clang::NonTypeTemplateParmDecl::isExpandedParameterPack(), clang::NonTypeTemplateParmDecl::isParameterPack(), and Record.
Definition at line 597 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_AT_DEFS_FIELD.
void ASTDeclWriter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 602 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_CATEGORY, clang::ObjCCategoryDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::ObjCCategoryDecl::getIvarLBraceLoc(), clang::ObjCCategoryDecl::getIvarRBraceLoc(), clang::ObjCCategoryDecl::protocol_locs(), clang::ObjCCategoryDecl::protocol_size(), clang::ObjCCategoryDecl::protocols(), and Record.
Definition at line 646 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_CATEGORY_IMPL, clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::ObjCCategoryImplDecl::getIdentifier(), and Record.
Definition at line 616 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_COMPATIBLE_ALIAS, clang::ObjCCompatibleAliasDecl::getClassInterface(), and Record.
Definition at line 510 of file ASTWriterDecl.cpp.
References clang::ObjCContainerDecl::getAtEndRange(), clang::ObjCContainerDecl::getAtStartLoc(), and Record.
void ASTDeclWriter::VisitObjCImplDecl | ( | ObjCImplDecl * | D | ) |
Definition at line 640 of file ASTWriterDecl.cpp.
References clang::ObjCImplDecl::getClassInterface(), and Record.
Definition at line 653 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_IMPLEMENTATION, clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), clang::ObjCImplementationDecl::hasDestructors(), clang::ObjCImplementationDecl::hasNonZeroConstructors(), and Record.
Definition at line 517 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_INTERFACE, clang::ObjCInterfaceDecl::getCategoryListRaw(), clang::ObjCInterfaceDecl::getEndOfDefinitionLoc(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getTypeForDecl(), clang::ObjCInterfaceDecl::isThisDeclarationADefinition(), P, clang::ObjCInterfaceDecl::protocol_locs(), clang::ObjCInterfaceDecl::protocols(), and Record.
void ASTDeclWriter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 561 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_IVAR, clang::ObjCIvarDecl::getAccessControl(), clang::FieldDecl::getBitWidth(), clang::NamedDecl::getDeclName(), clang::ObjCIvarDecl::getSynthesize(), clang::Decl::hasAttrs(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::Decl::isReferenced(), clang::Decl::isUsed(), and Record.
void ASTDeclWriter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 462 of file ASTWriterDecl.cpp.
References Context, clang::serialization::DECL_OBJC_METHOD, clang::ObjCMethodDecl::getBody(), clang::ObjCMethodDecl::getCmdDecl(), clang::ObjCMethodDecl::getImplementationControl(), clang::ObjCMethodDecl::getLocEnd(), clang::ObjCMethodDecl::getObjCDeclQualifier(), clang::ASTContext::getObjCMethodRedeclaration(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCMethodDecl::getReturnTypeSourceInfo(), clang::ObjCMethodDecl::getSelfDecl(), clang::ObjCMethodDecl::hasRelatedResultType(), clang::ObjCMethodDecl::isDefined(), clang::ObjCMethodDecl::isInstanceMethod(), clang::ObjCMethodDecl::isPropertyAccessor(), clang::ObjCMethodDecl::isVariadic(), P, clang::ObjCMethodDecl::param_size(), clang::ObjCMethodDecl::params(), and Record.
void ASTDeclWriter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 622 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_PROPERTY, clang::ObjCPropertyDecl::getAtLoc(), clang::ObjCPropertyDecl::getGetterMethodDecl(), clang::ObjCPropertyDecl::getGetterName(), clang::ObjCPropertyDecl::getLParenLoc(), clang::ObjCPropertyDecl::getPropertyAttributes(), clang::ObjCPropertyDecl::getPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::getPropertyImplementation(), clang::ObjCPropertyDecl::getPropertyIvarDecl(), clang::ObjCPropertyDecl::getSetterMethodDecl(), clang::ObjCPropertyDecl::getSetterName(), clang::ObjCPropertyDecl::getTypeSourceInfo(), and Record.
Definition at line 666 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OBJC_PROPERTY_IMPL, clang::ObjCPropertyImplDecl::getGetterCXXConstructor(), clang::ObjCPropertyImplDecl::getLocStart(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ObjCPropertyImplDecl::getSetterCXXAssignment(), and Record.
void ASTDeclWriter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 1472 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_OMP_THREADPRIVATE, Record, clang::OMPThreadPrivateDecl::varlist_size(), and clang::OMPThreadPrivateDecl::varlists().
void ASTDeclWriter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 797 of file ASTWriterDecl.cpp.
References clang::AS_none, clang::VarDecl::CInit, clang::serialization::DECL_PARM_VAR, clang::Decl::getAccess(), clang::ParmVarDecl::getFunctionScopeDepth(), clang::ParmVarDecl::getFunctionScopeIndex(), clang::VarDecl::getInit(), clang::VarDecl::getInitStyle(), clang::ParmVarDecl::getObjCDeclQualifier(), clang::Redeclarable< decl_type >::getPreviousDecl(), clang::VarDecl::getStorageClass(), clang::VarDecl::getTSCSpec(), clang::ParmVarDecl::getUninstantiatedDefaultArg(), clang::Decl::hasAttrs(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ParmVarDecl::hasUninstantiatedDefaultArg(), clang::VarDecl::isARCPseudoStrong(), clang::VarDecl::isExceptionVariable(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::ParmVarDecl::isKNRPromoted(), clang::Decl::isModulePrivate(), clang::ParmVarDecl::isObjCMethodParameter(), clang::Decl::isReferenced(), clang::VarDecl::isStaticDataMember(), clang::Decl::isUsed(), and Record.
void ASTDeclWriter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 314 of file ASTWriterDecl.cpp.
References clang::AS_none, clang::CXXRecordDecl::classofKind(), clang::serialization::DECL_RECORD, clang::Decl::getAccess(), clang::TagDecl::getDeclaratorForAnonDecl(), clang::NamedDecl::getDeclName(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::Decl::getKind(), clang::RecordDecl::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::Decl::hasAttrs(), clang::RecordDecl::hasFlexibleArrayMember(), clang::RecordDecl::hasObjectMember(), clang::RecordDecl::hasVolatileMember(), clang::DeclarationName::Identifier, clang::RecordDecl::isAnonymousStructOrUnion(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::Decl::isReferenced(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), clang::serialization::needsAnonymousDeclarationNumber(), and Record.
void ASTDeclWriter::VisitRedeclarable | ( | Redeclarable< T > * | D | ) |
Definition at line 1449 of file ASTWriterDecl.cpp.
References clang::Redeclarable< decl_type >::getFirstDecl(), getKind(), clang::Redeclarable< decl_type >::getPreviousDecl(), clang::serialization::isRedeclarableDeclKind(), and Record.
void ASTDeclWriter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 1422 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_STATIC_ASSERT, clang::StaticAssertDecl::getAssertExpr(), clang::StaticAssertDecl::getMessage(), clang::StaticAssertDecl::getRParenLoc(), clang::StaticAssertDecl::isFailed(), and Record.
void ASTDeclWriter::VisitTagDecl | ( | TagDecl * | D | ) |
Definition at line 246 of file ASTWriterDecl.cpp.
References clang::TagDecl::getDeclaratorForAnonDecl(), clang::Decl::getIdentifierNamespace(), clang::TagDecl::getRBraceLoc(), clang::TagDecl::getTagKind(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::TagDecl::isCompleteDefinition(), clang::TagDecl::isCompleteDefinitionRequired(), clang::TagDecl::isEmbeddedInDeclarator(), clang::TagDecl::isFreeStanding(), and Record.
void ASTDeclWriter::VisitTemplateDecl | ( | TemplateDecl * | D | ) |
Definition at line 1148 of file ASTWriterDecl.cpp.
References clang::TemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), and Record.
Definition at line 1390 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_EXPANDED_TEMPLATE_TEMPLATE_PARM_PACK, clang::serialization::DECL_TEMPLATE_TEMPLATE_PARM, clang::TemplateTemplateParmDecl::defaultArgumentWasInherited(), clang::TemplateTemplateParmDecl::getDefaultArgument(), clang::TemplateParmPosition::getDepth(), clang::TemplateTemplateParmDecl::getExpansionTemplateParameters(), clang::TemplateTemplateParmDecl::getNumExpansionTemplateParameters(), clang::TemplateParmPosition::getPosition(), clang::TemplateTemplateParmDecl::isExpandedParameterPack(), clang::TemplateTemplateParmDecl::isParameterPack(), and Record.
Definition at line 199 of file ASTWriterDecl.cpp.
void ASTDeclWriter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 240 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_TYPEALIAS, clang::TypeAliasDecl::getDescribedAliasTemplate(), and Record.
Definition at line 1417 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_TYPE_ALIAS_TEMPLATE.
void ASTDeclWriter::VisitTypeDecl | ( | TypeDecl * | D | ) |
Definition at line 210 of file ASTWriterDecl.cpp.
References clang::TypeDecl::getLocStart(), clang::TypeDecl::getTypeForDecl(), and Record.
void ASTDeclWriter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 225 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_TYPEDEF, clang::NamedDecl::getDeclName(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::Decl::hasAttrs(), clang::DeclarationName::Identifier, clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::Decl::isTopLevelDeclInObjCContainer(), and clang::serialization::needsAnonymousDeclarationNumber().
void ASTDeclWriter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D | ) |
Definition at line 216 of file ASTWriterDecl.cpp.
References clang::TypedefNameDecl::getTypeSourceInfo(), clang::TypedefNameDecl::getUnderlyingType(), clang::TypedefNameDecl::isModed(), and Record.
Definition at line 1000 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_UNRESOLVED_USING_TYPENAME, clang::UnresolvedUsingTypenameDecl::getQualifierLoc(), clang::UnresolvedUsingTypenameDecl::getTypenameLoc(), and Record.
Definition at line 992 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_UNRESOLVED_USING_VALUE, clang::NamedDecl::getDeclName(), clang::UnresolvedUsingValueDecl::getQualifierLoc(), clang::UnresolvedUsingValueDecl::getUsingLoc(), and Record.
void ASTDeclWriter::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 962 of file ASTWriterDecl.cpp.
References Context, clang::serialization::DECL_USING, clang::NamedDecl::getDeclName(), clang::ASTContext::getInstantiatedFromUsingDecl(), clang::UsingDecl::getQualifierLoc(), clang::UsingDecl::getUsingLoc(), clang::UsingDecl::hasTypename(), and Record.
Definition at line 982 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_USING_DIRECTIVE, clang::UsingDirectiveDecl::getCommonAncestor(), clang::UsingDirectiveDecl::getNamespaceKeyLocation(), clang::UsingDirectiveDecl::getNominatedNamespace(), clang::UsingDirectiveDecl::getQualifierLoc(), clang::UsingDirectiveDecl::getUsingLoc(), and Record.
void ASTDeclWriter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 973 of file ASTWriterDecl.cpp.
References Context, clang::serialization::DECL_USING_SHADOW, clang::ASTContext::getInstantiatedFromUsingShadowDecl(), clang::UsingShadowDecl::getTargetDecl(), and Record.
void ASTDeclWriter::VisitValueDecl | ( | ValueDecl * | D | ) |
Definition at line 341 of file ASTWriterDecl.cpp.
References clang::ValueDecl::getType(), and Record.
void ASTDeclWriter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 729 of file ASTWriterDecl.cpp.
References clang::AS_none, clang::VarDecl::CInit, clang::serialization::DECL_VAR, clang::Decl::getAccess(), clang::NamedDecl::getDeclName(), clang::VarDecl::getDescribedVarTemplate(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::VarDecl::getInit(), clang::VarDecl::getInitStyle(), clang::NamedDecl::getLinkageInternal(), clang::VarDecl::getMemberSpecializationInfo(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::VarDecl::getStorageClass(), clang::VarDecl::getTSCSpec(), clang::Decl::hasAttrs(), clang::DeclarationName::Identifier, clang::VarDecl::isARCPseudoStrong(), clang::VarDecl::isConstexpr(), clang::VarDecl::isCXXForRangeDecl(), clang::VarDecl::isExceptionVariable(), clang::Decl::isImplicit(), clang::VarDecl::isInitCapture(), clang::VarDecl::isInitICE(), clang::VarDecl::isInitKnownICE(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::VarDecl::isNRVOVariable(), clang::VarDecl::isPreviousDeclInSameBlockScope(), clang::Decl::isReferenced(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), clang::serialization::needsAnonymousDeclarationNumber(), and Record.
void ASTDeclWriter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 1246 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_VAR_TEMPLATE, clang::VarTemplateDecl::getPartialSpecializations(), clang::VarTemplateDecl::getSpecializations(), clang::Redeclarable< decl_type >::isFirstDecl(), and Record.
void ASTDeclWriter::VisitVarTemplatePartialSpecializationDecl | ( | VarTemplatePartialSpecializationDecl * | D | ) |
Definition at line 1306 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_VAR_TEMPLATE_PARTIAL_SPECIALIZATION, clang::VarTemplatePartialSpecializationDecl::getInstantiatedFromMember(), clang::Redeclarable< decl_type >::getPreviousDecl(), clang::VarTemplatePartialSpecializationDecl::getTemplateArgsAsWritten(), clang::VarTemplatePartialSpecializationDecl::getTemplateParameters(), clang::VarTemplatePartialSpecializationDecl::isMemberSpecialization(), and Record.
Definition at line 1272 of file ASTWriterDecl.cpp.
References clang::serialization::DECL_VAR_TEMPLATE_SPECIALIZATION, clang::VarTemplateDecl::getCanonicalDecl(), clang::VarTemplateSpecializationDecl::getExternLoc(), clang::VarTemplateSpecializationDecl::getPointOfInstantiation(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarTemplateSpecializationDecl::getSpecializedTemplateOrPartial(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateInstantiationArgs(), clang::VarTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::VarTemplateSpecializationDecl::getTypeAsWritten(), clang::Decl::isCanonicalDecl(), and Record.
Definition at line 43 of file ASTWriterDecl.cpp.
Definition at line 42 of file ASTWriterDecl.cpp.