clang  6.0.0svn
Public Member Functions | List of all members
clang::ASTDeclWriter Class Reference
Inheritance diagram for clang::ASTDeclWriter:
Inheritance graph
[legend]
Collaboration diagram for clang::ASTDeclWriter:
Collaboration graph
[legend]

Public Member Functions

 ASTDeclWriter (ASTWriter &Writer, ASTContext &Context, ASTWriter::RecordDataImpl &Record)
 
uint64_t Emit (Decl *D)
 
void Visit (Decl *D)
 
void VisitDecl (Decl *D)
 
void VisitPragmaCommentDecl (PragmaCommentDecl *D)
 
void VisitPragmaDetectMismatchDecl (PragmaDetectMismatchDecl *D)
 
void VisitTranslationUnitDecl (TranslationUnitDecl *D)
 
void VisitNamedDecl (NamedDecl *D)
 
void VisitLabelDecl (LabelDecl *LD)
 
void VisitNamespaceDecl (NamespaceDecl *D)
 
void VisitUsingDirectiveDecl (UsingDirectiveDecl *D)
 
void VisitNamespaceAliasDecl (NamespaceAliasDecl *D)
 
void VisitTypeDecl (TypeDecl *D)
 
void VisitTypedefNameDecl (TypedefNameDecl *D)
 
void VisitTypedefDecl (TypedefDecl *D)
 
void VisitTypeAliasDecl (TypeAliasDecl *D)
 
void VisitUnresolvedUsingTypenameDecl (UnresolvedUsingTypenameDecl *D)
 
void VisitTagDecl (TagDecl *D)
 
void VisitEnumDecl (EnumDecl *D)
 
void VisitRecordDecl (RecordDecl *D)
 
void VisitCXXRecordDecl (CXXRecordDecl *D)
 
void VisitClassTemplateSpecializationDecl (ClassTemplateSpecializationDecl *D)
 
void VisitClassTemplatePartialSpecializationDecl (ClassTemplatePartialSpecializationDecl *D)
 
void VisitVarTemplateSpecializationDecl (VarTemplateSpecializationDecl *D)
 
void VisitVarTemplatePartialSpecializationDecl (VarTemplatePartialSpecializationDecl *D)
 
void VisitClassScopeFunctionSpecializationDecl (ClassScopeFunctionSpecializationDecl *D)
 
void VisitTemplateTypeParmDecl (TemplateTypeParmDecl *D)
 
void VisitValueDecl (ValueDecl *D)
 
void VisitEnumConstantDecl (EnumConstantDecl *D)
 
void VisitUnresolvedUsingValueDecl (UnresolvedUsingValueDecl *D)
 
void VisitDeclaratorDecl (DeclaratorDecl *D)
 
void VisitFunctionDecl (FunctionDecl *D)
 
void VisitCXXDeductionGuideDecl (CXXDeductionGuideDecl *D)
 
void VisitCXXMethodDecl (CXXMethodDecl *D)
 
void VisitCXXConstructorDecl (CXXConstructorDecl *D)
 
void VisitCXXDestructorDecl (CXXDestructorDecl *D)
 
void VisitCXXConversionDecl (CXXConversionDecl *D)
 
void VisitFieldDecl (FieldDecl *D)
 
void VisitMSPropertyDecl (MSPropertyDecl *D)
 
void VisitIndirectFieldDecl (IndirectFieldDecl *D)
 
void VisitVarDecl (VarDecl *D)
 
void VisitImplicitParamDecl (ImplicitParamDecl *D)
 
void VisitParmVarDecl (ParmVarDecl *D)
 
void VisitDecompositionDecl (DecompositionDecl *D)
 
void VisitBindingDecl (BindingDecl *D)
 
void VisitNonTypeTemplateParmDecl (NonTypeTemplateParmDecl *D)
 
void VisitTemplateDecl (TemplateDecl *D)
 
void VisitRedeclarableTemplateDecl (RedeclarableTemplateDecl *D)
 
void VisitClassTemplateDecl (ClassTemplateDecl *D)
 
void VisitVarTemplateDecl (VarTemplateDecl *D)
 
void VisitFunctionTemplateDecl (FunctionTemplateDecl *D)
 
void VisitTemplateTemplateParmDecl (TemplateTemplateParmDecl *D)
 
void VisitTypeAliasTemplateDecl (TypeAliasTemplateDecl *D)
 
void VisitUsingDecl (UsingDecl *D)
 
void VisitUsingPackDecl (UsingPackDecl *D)
 
void VisitUsingShadowDecl (UsingShadowDecl *D)
 
void VisitConstructorUsingShadowDecl (ConstructorUsingShadowDecl *D)
 
void VisitLinkageSpecDecl (LinkageSpecDecl *D)
 
void VisitExportDecl (ExportDecl *D)
 
void VisitFileScopeAsmDecl (FileScopeAsmDecl *D)
 
void VisitImportDecl (ImportDecl *D)
 
void VisitAccessSpecDecl (AccessSpecDecl *D)
 
void VisitFriendDecl (FriendDecl *D)
 
void VisitFriendTemplateDecl (FriendTemplateDecl *D)
 
void VisitStaticAssertDecl (StaticAssertDecl *D)
 
void VisitBlockDecl (BlockDecl *D)
 
void VisitCapturedDecl (CapturedDecl *D)
 
void VisitEmptyDecl (EmptyDecl *D)
 
void VisitDeclContext (DeclContext *DC)
 Emit the DeclContext part of a declaration context decl. More...
 
template<typename T >
void VisitRedeclarable (Redeclarable< T > *D)
 
void VisitObjCMethodDecl (ObjCMethodDecl *D)
 
void VisitObjCTypeParamDecl (ObjCTypeParamDecl *D)
 
void VisitObjCContainerDecl (ObjCContainerDecl *D)
 
void VisitObjCInterfaceDecl (ObjCInterfaceDecl *D)
 
void VisitObjCIvarDecl (ObjCIvarDecl *D)
 
void VisitObjCProtocolDecl (ObjCProtocolDecl *D)
 
void VisitObjCAtDefsFieldDecl (ObjCAtDefsFieldDecl *D)
 
void VisitObjCCategoryDecl (ObjCCategoryDecl *D)
 
void VisitObjCImplDecl (ObjCImplDecl *D)
 
void VisitObjCCategoryImplDecl (ObjCCategoryImplDecl *D)
 
void VisitObjCImplementationDecl (ObjCImplementationDecl *D)
 
void VisitObjCCompatibleAliasDecl (ObjCCompatibleAliasDecl *D)
 
void VisitObjCPropertyDecl (ObjCPropertyDecl *D)
 
void VisitObjCPropertyImplDecl (ObjCPropertyImplDecl *D)
 
void VisitOMPThreadPrivateDecl (OMPThreadPrivateDecl *D)
 
void VisitOMPDeclareReductionDecl (OMPDeclareReductionDecl *D)
 
void VisitOMPCapturedExprDecl (OMPCapturedExprDecl *D)
 
void AddObjCTypeParamList (ObjCTypeParamList *typeParams)
 Add an Objective-C type parameter list to the given record. More...
 
void AddFirstDeclFromEachModule (const Decl *D, bool IncludeLocal)
 Add to the record the first declaration from each module file that provides a declaration of D. More...
 
template<typename EntryType >
RedeclarableTemplateDecl::SpecEntryTraits< EntryType >::DeclType * getSpecializationDecl (EntryType &T)
 Get the specialization decl from an entry in the specialization list. More...
 
template<typename T >
decltype(T::PartialSpecializations) & getPartialSpecializations (T *Common)
 Get the list of partial specializations from a template's common ptr. More...
 
ArrayRef< DeclgetPartialSpecializations (FunctionTemplateDecl::Common *)
 
template<typename DeclTy >
void AddTemplateSpecializations (DeclTy *D)
 
void RegisterTemplateSpecialization (const Decl *Template, const Decl *Specialization)
 Ensure that this template specialization is associated with the specified template on reload. More...
 
- Public Member Functions inherited from clang::declvisitor::Base< declvisitor::make_ptr, ASTDeclWriter, void >
void Visit (PTR(Decl) D)
 
void VisitDecl (PTR(Decl) D)
 

Detailed Description

Definition at line 33 of file ASTWriterDecl.cpp.

Constructor & Destructor Documentation

◆ ASTDeclWriter()

clang::ASTDeclWriter::ASTDeclWriter ( ASTWriter Writer,
ASTContext Context,
ASTWriter::RecordDataImpl Record 
)
inline

Definition at line 42 of file ASTWriterDecl.cpp.

Member Function Documentation

◆ AddFirstDeclFromEachModule()

void clang::ASTDeclWriter::AddFirstDeclFromEachModule ( const Decl D,
bool  IncludeLocal 
)
inline

Add to the record the first declaration from each module file that provides a declaration of D.

The intent is to provide a sufficient set such that reloading this set will load all current redeclarations.

Definition at line 168 of file ASTWriterDecl.cpp.

References clang::ASTRecordWriter::AddDeclRef(), clang::Decl::getMostRecentDecl(), clang::ASTReader::getOwningModuleFile(), and clang::Decl::getPreviousDecl().

◆ AddObjCTypeParamList()

void clang::ASTDeclWriter::AddObjCTypeParamList ( ObjCTypeParamList typeParams)
inline

Add an Objective-C type parameter list to the given record.

Definition at line 150 of file ASTWriterDecl.cpp.

References clang::ASTRecordWriter::AddDeclRef(), clang::ASTRecordWriter::AddSourceLocation(), clang::ASTRecordWriter::push_back(), and clang::ObjCTypeParamList::size().

◆ AddTemplateSpecializations()

template<typename DeclTy >
void clang::ASTDeclWriter::AddTemplateSpecializations ( DeclTy *  D)
inline

Definition at line 198 of file ASTWriterDecl.cpp.

References clang::ASTContext::getExternalSource().

◆ Emit()

uint64_t clang::ASTDeclWriter::Emit ( Decl D)
inline

◆ getPartialSpecializations() [1/2]

template<typename T >
decltype(T::PartialSpecializations) & clang::ASTDeclWriter::getPartialSpecializations ( T Common)
inline

Get the list of partial specializations from a template's common ptr.

Definition at line 190 of file ASTWriterDecl.cpp.

◆ getPartialSpecializations() [2/2]

ArrayRef<Decl> clang::ASTDeclWriter::getPartialSpecializations ( FunctionTemplateDecl::Common )
inline

Definition at line 193 of file ASTWriterDecl.cpp.

◆ getSpecializationDecl()

template<typename EntryType >
RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType* clang::ASTDeclWriter::getSpecializationDecl ( EntryType &  T)
inline

Get the specialization decl from an entry in the specialization list.

Definition at line 184 of file ASTWriterDecl.cpp.

References clang::RedeclarableTemplateDecl::SpecEntryTraits< EntryType >::getDecl().

◆ RegisterTemplateSpecialization()

void clang::ASTDeclWriter::RegisterTemplateSpecialization ( const Decl Template,
const Decl Specialization 
)
inline

Ensure that this template specialization is associated with the specified template on reload.

Definition at line 238 of file ASTWriterDecl.cpp.

References clang::Decl::getCanonicalDecl(), clang::ASTWriter::getFirstLocalDecl(), clang::Decl::isFromASTFile(), and clang::serialization::UPD_CXX_ADDED_TEMPLATE_SPECIALIZATION.

◆ Visit()

void ASTDeclWriter::Visit ( Decl D)

◆ VisitAccessSpecDecl()

void ASTDeclWriter::VisitAccessSpecDecl ( AccessSpecDecl D)

◆ VisitBindingDecl()

void ASTDeclWriter::VisitBindingDecl ( BindingDecl D)

◆ VisitBlockDecl()

void ASTDeclWriter::VisitBlockDecl ( BlockDecl D)

◆ VisitCapturedDecl()

void ASTDeclWriter::VisitCapturedDecl ( CapturedDecl D)

◆ VisitClassScopeFunctionSpecializationDecl()

void ASTDeclWriter::VisitClassScopeFunctionSpecializationDecl ( ClassScopeFunctionSpecializationDecl D)

◆ VisitClassTemplateDecl()

void ASTDeclWriter::VisitClassTemplateDecl ( ClassTemplateDecl D)

◆ VisitClassTemplatePartialSpecializationDecl()

void ASTDeclWriter::VisitClassTemplatePartialSpecializationDecl ( ClassTemplatePartialSpecializationDecl D)

◆ VisitClassTemplateSpecializationDecl()

void ASTDeclWriter::VisitClassTemplateSpecializationDecl ( ClassTemplateSpecializationDecl D)

◆ VisitConstructorUsingShadowDecl()

void ASTDeclWriter::VisitConstructorUsingShadowDecl ( ConstructorUsingShadowDecl D)

◆ VisitCXXConstructorDecl()

void ASTDeclWriter::VisitCXXConstructorDecl ( CXXConstructorDecl D)

◆ VisitCXXConversionDecl()

void ASTDeclWriter::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 1319 of file ASTWriterDecl.cpp.

References clang::serialization::DECL_CXX_CONVERSION.

◆ VisitCXXDeductionGuideDecl()

void ASTDeclWriter::VisitCXXDeductionGuideDecl ( CXXDeductionGuideDecl D)

◆ VisitCXXDestructorDecl()

void ASTDeclWriter::VisitCXXDestructorDecl ( CXXDestructorDecl D)

◆ VisitCXXMethodDecl()

void ASTDeclWriter::VisitCXXMethodDecl ( CXXMethodDecl D)

◆ VisitCXXRecordDecl()

void ASTDeclWriter::VisitCXXRecordDecl ( CXXRecordDecl D)

◆ VisitDecl()

void ASTDeclWriter::VisitDecl ( Decl D)

◆ VisitDeclaratorDecl()

void ASTDeclWriter::VisitDeclaratorDecl ( DeclaratorDecl D)

Definition at line 504 of file ASTWriterDecl.cpp.

References clang::DeclaratorDecl::getInnerLocStart().

◆ VisitDeclContext()

void ASTDeclWriter::VisitDeclContext ( DeclContext DC)

Emit the DeclContext part of a declaration context decl.

Definition at line 1629 of file ASTWriterDecl.cpp.

◆ VisitDecompositionDecl()

void ASTDeclWriter::VisitDecompositionDecl ( DecompositionDecl D)

◆ VisitEmptyDecl()

void ASTDeclWriter::VisitEmptyDecl ( EmptyDecl D)

Definition at line 1069 of file ASTWriterDecl.cpp.

References clang::serialization::DECL_EMPTY.

◆ VisitEnumConstantDecl()

void ASTDeclWriter::VisitEnumConstantDecl ( EnumConstantDecl D)

◆ VisitEnumDecl()

void ASTDeclWriter::VisitEnumDecl ( EnumDecl D)

◆ VisitExportDecl()

void ASTDeclWriter::VisitExportDecl ( ExportDecl D)

◆ VisitFieldDecl()

void ASTDeclWriter::VisitFieldDecl ( FieldDecl D)

◆ VisitFileScopeAsmDecl()

void ASTDeclWriter::VisitFileScopeAsmDecl ( FileScopeAsmDecl D)

◆ VisitFriendDecl()

void ASTDeclWriter::VisitFriendDecl ( FriendDecl D)

◆ VisitFriendTemplateDecl()

void ASTDeclWriter::VisitFriendTemplateDecl ( FriendTemplateDecl D)

◆ VisitFunctionDecl()

void ASTDeclWriter::VisitFunctionDecl ( FunctionDecl D)

Definition at line 512 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::FunctionTemplateSpecializationInfo::getTemplate(), clang::DependentFunctionTemplateSpecializationInfo::getTemplate(), clang::DependentFunctionTemplateSpecializationInfo::getTemplateArg(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionTemplateSpecializationInfo::getTemplateSpecializationKind(), clang::MemberSpecializationInfo::getTemplateSpecializationKind(), clang::Decl::isCanonicalDecl(), clang::FunctionDecl::IsExplicitSpecified, clang::ASTTemplateArgumentListInfo::LAngleLoc, clang::ASTTemplateArgumentListInfo::NumTemplateArgs, P, clang::FunctionDecl::param_size(), clang::FunctionDecl::parameters(), clang::ASTTemplateArgumentListInfo::RAngleLoc, 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.

◆ VisitFunctionTemplateDecl()

void ASTDeclWriter::VisitFunctionTemplateDecl ( FunctionTemplateDecl D)

◆ VisitImplicitParamDecl()

void ASTDeclWriter::VisitImplicitParamDecl ( ImplicitParamDecl D)

Definition at line 992 of file ASTWriterDecl.cpp.

References clang::serialization::DECL_IMPLICIT_PARAM.

◆ VisitImportDecl()

void ASTDeclWriter::VisitImportDecl ( ImportDecl D)

◆ VisitIndirectFieldDecl()

void ASTDeclWriter::VisitIndirectFieldDecl ( IndirectFieldDecl D)

◆ VisitLabelDecl()

void ASTDeclWriter::VisitLabelDecl ( LabelDecl LD)

◆ VisitLinkageSpecDecl()

void ASTDeclWriter::VisitLinkageSpecDecl ( LinkageSpecDecl D)

◆ VisitMSPropertyDecl()

void ASTDeclWriter::VisitMSPropertyDecl ( MSPropertyDecl D)

◆ VisitNamedDecl()

void ASTDeclWriter::VisitNamedDecl ( NamedDecl D)

◆ VisitNamespaceAliasDecl()

void ASTDeclWriter::VisitNamespaceAliasDecl ( NamespaceAliasDecl D)

◆ VisitNamespaceDecl()

void ASTDeclWriter::VisitNamespaceDecl ( NamespaceDecl D)

◆ VisitNonTypeTemplateParmDecl()

void ASTDeclWriter::VisitNonTypeTemplateParmDecl ( NonTypeTemplateParmDecl D)

◆ VisitObjCAtDefsFieldDecl()

void ASTDeclWriter::VisitObjCAtDefsFieldDecl ( ObjCAtDefsFieldDecl D)

Definition at line 765 of file ASTWriterDecl.cpp.

References clang::serialization::DECL_OBJC_AT_DEFS_FIELD.

◆ VisitObjCCategoryDecl()

void ASTDeclWriter::VisitObjCCategoryDecl ( ObjCCategoryDecl D)

◆ VisitObjCCategoryImplDecl()

void ASTDeclWriter::VisitObjCCategoryImplDecl ( ObjCCategoryImplDecl D)

◆ VisitObjCCompatibleAliasDecl()

void ASTDeclWriter::VisitObjCCompatibleAliasDecl ( ObjCCompatibleAliasDecl D)

◆ VisitObjCContainerDecl()

void ASTDeclWriter::VisitObjCContainerDecl ( ObjCContainerDecl D)

◆ VisitObjCImplDecl()

void ASTDeclWriter::VisitObjCImplDecl ( ObjCImplDecl D)

Definition at line 812 of file ASTWriterDecl.cpp.

References clang::ObjCImplDecl::getClassInterface().

◆ VisitObjCImplementationDecl()

void ASTDeclWriter::VisitObjCImplementationDecl ( ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

void ASTDeclWriter::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)

◆ VisitObjCIvarDecl()

void ASTDeclWriter::VisitObjCIvarDecl ( ObjCIvarDecl D)

◆ VisitObjCMethodDecl()

void ASTDeclWriter::VisitObjCMethodDecl ( ObjCMethodDecl D)

◆ VisitObjCPropertyDecl()

void ASTDeclWriter::VisitObjCPropertyDecl ( ObjCPropertyDecl D)

◆ VisitObjCPropertyImplDecl()

void ASTDeclWriter::VisitObjCPropertyImplDecl ( ObjCPropertyImplDecl D)

◆ VisitObjCProtocolDecl()

void ASTDeclWriter::VisitObjCProtocolDecl ( ObjCProtocolDecl D)

◆ VisitObjCTypeParamDecl()

void ASTDeclWriter::VisitObjCTypeParamDecl ( ObjCTypeParamDecl D)

Definition at line 667 of file ASTWriterDecl.cpp.

References clang::serialization::DECL_OBJC_TYPE_PARAM.

◆ VisitOMPCapturedExprDecl()

void ASTDeclWriter::VisitOMPCapturedExprDecl ( OMPCapturedExprDecl D)

◆ VisitOMPDeclareReductionDecl()

void ASTDeclWriter::VisitOMPDeclareReductionDecl ( OMPDeclareReductionDecl D)

◆ VisitOMPThreadPrivateDecl()

void ASTDeclWriter::VisitOMPThreadPrivateDecl ( OMPThreadPrivateDecl D)

Definition at line 1710 of file ASTWriterDecl.cpp.

References clang::OMPThreadPrivateDecl::varlist_size().

◆ VisitParmVarDecl()

void ASTDeclWriter::VisitParmVarDecl ( ParmVarDecl D)

◆ VisitPragmaCommentDecl()

void ASTDeclWriter::VisitPragmaCommentDecl ( PragmaCommentDecl D)

◆ VisitPragmaDetectMismatchDecl()

void ASTDeclWriter::VisitPragmaDetectMismatchDecl ( PragmaDetectMismatchDecl D)

Definition at line 335 of file ASTWriterDecl.cpp.

◆ VisitRecordDecl()

void ASTDeclWriter::VisitRecordDecl ( RecordDecl D)

◆ VisitRedeclarable()

template<typename T >
void ASTDeclWriter::VisitRedeclarable ( Redeclarable< T > *  D)

◆ VisitRedeclarableTemplateDecl()

void ASTDeclWriter::VisitRedeclarableTemplateDecl ( RedeclarableTemplateDecl D)

◆ VisitStaticAssertDecl()

void ASTDeclWriter::VisitStaticAssertDecl ( StaticAssertDecl D)

◆ VisitTagDecl()

void ASTDeclWriter::VisitTagDecl ( TagDecl D)

◆ VisitTemplateDecl()

void ASTDeclWriter::VisitTemplateDecl ( TemplateDecl D)

◆ VisitTemplateTemplateParmDecl()

void ASTDeclWriter::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)

◆ VisitTemplateTypeParmDecl()

void ASTDeclWriter::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)

◆ VisitTranslationUnitDecl()

void ASTDeclWriter::VisitTranslationUnitDecl ( TranslationUnitDecl D)

Definition at line 347 of file ASTWriterDecl.cpp.

◆ VisitTypeAliasDecl()

void ASTDeclWriter::VisitTypeAliasDecl ( TypeAliasDecl D)

◆ VisitTypeAliasTemplateDecl()

void ASTDeclWriter::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

◆ VisitTypeDecl()

void ASTDeclWriter::VisitTypeDecl ( TypeDecl D)

◆ VisitTypedefDecl()

void ASTDeclWriter::VisitTypedefDecl ( TypedefDecl D)

◆ VisitTypedefNameDecl()

void ASTDeclWriter::VisitTypedefNameDecl ( TypedefNameDecl D)

◆ VisitUnresolvedUsingTypenameDecl()

void ASTDeclWriter::VisitUnresolvedUsingTypenameDecl ( UnresolvedUsingTypenameDecl D)

◆ VisitUnresolvedUsingValueDecl()

void ASTDeclWriter::VisitUnresolvedUsingValueDecl ( UnresolvedUsingValueDecl D)

◆ VisitUsingDecl()

void ASTDeclWriter::VisitUsingDecl ( UsingDecl D)

◆ VisitUsingDirectiveDecl()

void ASTDeclWriter::VisitUsingDirectiveDecl ( UsingDirectiveDecl D)

◆ VisitUsingPackDecl()

void ASTDeclWriter::VisitUsingPackDecl ( UsingPackDecl D)

◆ VisitUsingShadowDecl()

void ASTDeclWriter::VisitUsingShadowDecl ( UsingShadowDecl D)

Definition at line 1189 of file ASTWriterDecl.cpp.

References clang::UsingShadowDecl::getTargetDecl().

◆ VisitValueDecl()

void ASTDeclWriter::VisitValueDecl ( ValueDecl D)

Definition at line 489 of file ASTWriterDecl.cpp.

References clang::ValueDecl::getType().

◆ VisitVarDecl()

void ASTDeclWriter::VisitVarDecl ( VarDecl D)

Definition at line 902 of file ASTWriterDecl.cpp.

References clang::AS_none, clang::serialization::DECL_VAR, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::NamedDecl::getDeclName(), clang::VarDecl::getDescribedVarTemplate(), clang::Redeclarable< decl_type >::getFirstDecl(), clang::VarDecl::getInit(), clang::VarDecl::getInitStyle(), clang::Decl::getKind(), clang::Decl::getLexicalDeclContext(), clang::NamedDecl::getLinkageInternal(), clang::VarDecl::getMemberSpecializationInfo(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::DeclarationName::getNameKind(), clang::VarDecl::getStorageClass(), clang::VarDecl::getStorageDuration(), clang::VarDecl::getTSCSpec(), clang::GVA_StrongExternal, 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::VarDecl::isInline(), clang::VarDecl::isInlineSpecified(), clang::Decl::isInvalidDecl(), clang::Decl::isModulePrivate(), clang::VarDecl::isNRVOVariable(), clang::VarDecl::isPreviousDeclInSameBlockScope(), clang::Decl::isReferenced(), clang::VarDecl::isThisDeclarationADemotedDefinition(), clang::Decl::isTopLevelDeclInObjCContainer(), clang::Decl::isUsed(), clang::Module::ModuleInterfaceUnit, clang::serialization::needsAnonymousDeclarationNumber(), and clang::SD_Static.

◆ VisitVarTemplateDecl()

void ASTDeclWriter::VisitVarTemplateDecl ( VarTemplateDecl D)

◆ VisitVarTemplatePartialSpecializationDecl()

void ASTDeclWriter::VisitVarTemplatePartialSpecializationDecl ( VarTemplatePartialSpecializationDecl D)

◆ VisitVarTemplateSpecializationDecl()

void ASTDeclWriter::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)

The documentation for this class was generated from the following file: