clang  5.0.0
Classes | Public Member Functions | Static Public Member Functions | List of all members
clang::ASTDeclReader Class Reference
Inheritance diagram for clang::ASTDeclReader:
[legend]
Collaboration diagram for clang::ASTDeclReader:
[legend]

Public Member Functions

 ASTDeclReader (ASTReader &Reader, ASTRecordReader &Record, ASTReader::RecordLocation Loc, DeclID thisDeclID, SourceLocation ThisDeclLoc)
 
bool hasPendingBody () const
 Determine whether this declaration has a pending body. More...
 
void ReadFunctionDefinition (FunctionDecl *FD)
 
void Visit (Decl *D)
 
void UpdateDecl (Decl *D, llvm::SmallVectorImpl< serialization::DeclID > &)
 
void VisitDecl (Decl *D)
 
void VisitPragmaCommentDecl (PragmaCommentDecl *D)
 
void VisitPragmaDetectMismatchDecl (PragmaDetectMismatchDecl *D)
 
void VisitTranslationUnitDecl (TranslationUnitDecl *TU)
 
void VisitNamedDecl (NamedDecl *ND)
 
void VisitLabelDecl (LabelDecl *LD)
 
void VisitNamespaceDecl (NamespaceDecl *D)
 
void VisitUsingDirectiveDecl (UsingDirectiveDecl *D)
 
void VisitNamespaceAliasDecl (NamespaceAliasDecl *D)
 
void VisitTypeDecl (TypeDecl *TD)
 
RedeclarableResult VisitTypedefNameDecl (TypedefNameDecl *TD)
 
void VisitTypedefDecl (TypedefDecl *TD)
 
void VisitTypeAliasDecl (TypeAliasDecl *TD)
 
void VisitUnresolvedUsingTypenameDecl (UnresolvedUsingTypenameDecl *D)
 
RedeclarableResult VisitTagDecl (TagDecl *TD)
 
void VisitEnumDecl (EnumDecl *ED)
 
RedeclarableResult VisitRecordDeclImpl (RecordDecl *RD)
 
void VisitRecordDecl (RecordDecl *RD)
 
RedeclarableResult VisitCXXRecordDeclImpl (CXXRecordDecl *D)
 
void VisitCXXRecordDecl (CXXRecordDecl *D)
 
RedeclarableResult VisitClassTemplateSpecializationDeclImpl (ClassTemplateSpecializationDecl *D)
 
void VisitClassTemplateSpecializationDecl (ClassTemplateSpecializationDecl *D)
 
void VisitClassTemplatePartialSpecializationDecl (ClassTemplatePartialSpecializationDecl *D)
 
void VisitClassScopeFunctionSpecializationDecl (ClassScopeFunctionSpecializationDecl *D)
 
RedeclarableResult VisitVarTemplateSpecializationDeclImpl (VarTemplateSpecializationDecl *D)
 TODO: Unify with ClassTemplateSpecializationDecl version? May require unifying ClassTemplate(Partial)SpecializationDecl and VarTemplate(Partial)SpecializationDecl with a new data structure Template(Partial)SpecializationDecl, and using Template(Partial)SpecializationDecl as input type. More...
 
void VisitVarTemplateSpecializationDecl (VarTemplateSpecializationDecl *D)
 
void VisitVarTemplatePartialSpecializationDecl (VarTemplatePartialSpecializationDecl *D)
 TODO: Unify with ClassTemplatePartialSpecializationDecl version? May require unifying ClassTemplate(Partial)SpecializationDecl and VarTemplate(Partial)SpecializationDecl with a new data structure Template(Partial)SpecializationDecl, and using Template(Partial)SpecializationDecl as input type. More...
 
void VisitTemplateTypeParmDecl (TemplateTypeParmDecl *D)
 
void VisitValueDecl (ValueDecl *VD)
 
void VisitEnumConstantDecl (EnumConstantDecl *ECD)
 
void VisitUnresolvedUsingValueDecl (UnresolvedUsingValueDecl *D)
 
void VisitDeclaratorDecl (DeclaratorDecl *DD)
 
void VisitFunctionDecl (FunctionDecl *FD)
 
void VisitCXXDeductionGuideDecl (CXXDeductionGuideDecl *GD)
 
void VisitCXXMethodDecl (CXXMethodDecl *D)
 
void VisitCXXConstructorDecl (CXXConstructorDecl *D)
 
void VisitCXXDestructorDecl (CXXDestructorDecl *D)
 
void VisitCXXConversionDecl (CXXConversionDecl *D)
 
void VisitFieldDecl (FieldDecl *FD)
 
void VisitMSPropertyDecl (MSPropertyDecl *FD)
 
void VisitIndirectFieldDecl (IndirectFieldDecl *FD)
 
RedeclarableResult VisitVarDeclImpl (VarDecl *D)
 
void VisitVarDecl (VarDecl *VD)
 
void VisitImplicitParamDecl (ImplicitParamDecl *PD)
 
void VisitParmVarDecl (ParmVarDecl *PD)
 
void VisitDecompositionDecl (DecompositionDecl *DD)
 
void VisitBindingDecl (BindingDecl *BD)
 
void VisitNonTypeTemplateParmDecl (NonTypeTemplateParmDecl *D)
 
DeclID VisitTemplateDecl (TemplateDecl *D)
 
RedeclarableResult VisitRedeclarableTemplateDecl (RedeclarableTemplateDecl *D)
 
void VisitClassTemplateDecl (ClassTemplateDecl *D)
 
void VisitBuiltinTemplateDecl (BuiltinTemplateDecl *D)
 
void VisitVarTemplateDecl (VarTemplateDecl *D)
 TODO: Unify with ClassTemplateDecl version? May require unifying ClassTemplateDecl and VarTemplateDecl beyond TemplateDecl... More...
 
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 *AD)
 
void VisitImportDecl (ImportDecl *D)
 
void VisitAccessSpecDecl (AccessSpecDecl *D)
 
void VisitFriendDecl (FriendDecl *D)
 
void VisitFriendTemplateDecl (FriendTemplateDecl *D)
 
void VisitStaticAssertDecl (StaticAssertDecl *D)
 
void VisitBlockDecl (BlockDecl *BD)
 
void VisitCapturedDecl (CapturedDecl *CD)
 
void VisitEmptyDecl (EmptyDecl *D)
 
std::pair< uint64_t, uint64_t > VisitDeclContext (DeclContext *DC)
 
template<typename T >
RedeclarableResult VisitRedeclarable (Redeclarable< T > *D)
 
template<typename T >
void mergeRedeclarable (Redeclarable< T > *D, RedeclarableResult &Redecl, DeclID TemplatePatternID=0)
 Attempts to merge the given declaration (D) with another declaration of the same entity. More...
 
template<typename T >
void mergeRedeclarable (Redeclarable< T > *D, T *Existing, RedeclarableResult &Redecl, DeclID TemplatePatternID=0)
 Attempts to merge the given declaration (D) with another declaration of the same entity. More...
 
template<typename T >
void mergeMergeable (Mergeable< T > *D)
 Attempts to merge the given declaration (D) with another declaration of the same entity, for the case where the entity is not actually redeclarable. More...
 
void mergeTemplatePattern (RedeclarableTemplateDecl *D, RedeclarableTemplateDecl *Existing, DeclID DsID, bool IsKeyDecl)
 Merge together the pattern declarations from two template declarations. More...
 
ObjCTypeParamListReadObjCTypeParamList ()
 
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)
 
template<>
void attachPreviousDeclImpl (ASTReader &Reader, Redeclarable< VarDecl > *D, Decl *Previous, Decl *Canon)
 
template<>
void attachPreviousDeclImpl (ASTReader &Reader, Redeclarable< FunctionDecl > *D, Decl *Previous, Decl *Canon)
 
- Public Member Functions inherited from clang::declvisitor::Base< declvisitor::make_ptr, ASTDeclReader, void >
void Visit (PTR(Decl) D)
 
void VisitDecl (PTR(Decl) D)
 

Static Public Member Functions

template<typename T >
static void AddLazySpecializations (T *D, SmallVectorImpl< serialization::DeclID > &IDs)
 
template<typename DeclT >
static DeclgetMostRecentDeclImpl (Redeclarable< DeclT > *D)
 
static DeclgetMostRecentDeclImpl (...)
 
static DeclgetMostRecentDecl (Decl *D)
 
template<typename DeclT >
static void attachPreviousDeclImpl (ASTReader &Reader, Redeclarable< DeclT > *D, Decl *Previous, Decl *Canon)
 
static void attachPreviousDeclImpl (ASTReader &Reader,...)
 
static void attachPreviousDecl (ASTReader &Reader, Decl *D, Decl *Previous, Decl *Canon)
 
template<typename DeclT >
static void attachLatestDeclImpl (Redeclarable< DeclT > *D, Decl *Latest)
 
static void attachLatestDeclImpl (...)
 
static void attachLatestDecl (Decl *D, Decl *latest)
 
template<typename DeclT >
static void markIncompleteDeclChainImpl (Redeclarable< DeclT > *D)
 
static void markIncompleteDeclChainImpl (...)
 
static void setNextObjCCategory (ObjCCategoryDecl *Cat, ObjCCategoryDecl *Next)
 

Detailed Description

Definition at line 36 of file ASTReaderDecl.cpp.

Constructor & Destructor Documentation

clang::ASTDeclReader::ASTDeclReader ( ASTReader Reader,
ASTRecordReader Record,
ASTReader::RecordLocation  Loc,
DeclID  thisDeclID,
SourceLocation  ThisDeclLoc 
)
inline

Definition at line 213 of file ASTReaderDecl.cpp.

Member Function Documentation

template<typename T >
static void clang::ASTDeclReader::AddLazySpecializations ( T *  D,
SmallVectorImpl< serialization::DeclID > &  IDs 
)
inlinestatic

Definition at line 223 of file ASTReaderDecl.cpp.

References Result.

Referenced by VisitClassTemplateDecl(), VisitFunctionTemplateDecl(), and VisitVarTemplateDecl().

void ASTDeclReader::attachLatestDecl ( Decl D,
Decl latest 
)
static

Definition at line 3327 of file ASTReaderDecl.cpp.

References clang::Decl::getKind().

template<typename DeclT >
void ASTDeclReader::attachLatestDeclImpl ( Redeclarable< DeclT > *  D,
Decl Latest 
)
static

Definition at line 3320 of file ASTReaderDecl.cpp.

References clang::Redeclarable< decl_type >::RedeclLink.

void ASTDeclReader::attachLatestDeclImpl (   ...)
static

Definition at line 3323 of file ASTReaderDecl.cpp.

void ASTDeclReader::attachPreviousDecl ( ASTReader Reader,
Decl D,
Decl Previous,
Decl Canon 
)
static
template<typename DeclT >
void ASTDeclReader::attachPreviousDeclImpl ( ASTReader Reader,
Redeclarable< DeclT > *  D,
Decl Previous,
Decl Canon 
)
static
void ASTDeclReader::attachPreviousDeclImpl ( ASTReader Reader,
  ... 
)
static

Definition at line 3247 of file ASTReaderDecl.cpp.

template<>
void clang::ASTDeclReader::attachPreviousDeclImpl ( ASTReader Reader,
Redeclarable< VarDecl > *  D,
Decl Previous,
Decl Canon 
)
template<>
void clang::ASTDeclReader::attachPreviousDeclImpl ( ASTReader Reader,
Redeclarable< FunctionDecl > *  D,
Decl Previous,
Decl Canon 
)
Decl * ASTDeclReader::getMostRecentDecl ( Decl D)
static

Definition at line 3152 of file ASTReaderDecl.cpp.

References clang::Decl::getKind().

template<typename DeclT >
Decl * ASTDeclReader::getMostRecentDeclImpl ( Redeclarable< DeclT > *  D)
static

Definition at line 3145 of file ASTReaderDecl.cpp.

References clang::Redeclarable< decl_type >::RedeclLink.

Decl * ASTDeclReader::getMostRecentDeclImpl (   ...)
static

Definition at line 3148 of file ASTReaderDecl.cpp.

bool clang::ASTDeclReader::hasPendingBody ( ) const
inline

Determine whether this declaration has a pending body.

Definition at line 269 of file ASTReaderDecl.cpp.

template<typename DeclT >
void ASTDeclReader::markIncompleteDeclChainImpl ( Redeclarable< DeclT > *  D)
static

Definition at line 3341 of file ASTReaderDecl.cpp.

References clang::Redeclarable< decl_type >::RedeclLink.

void ASTDeclReader::markIncompleteDeclChainImpl (   ...)
static

Definition at line 3344 of file ASTReaderDecl.cpp.

template<typename T >
void ASTDeclReader::mergeMergeable ( Mergeable< T > *  D)

Attempts to merge the given declaration (D) with another declaration of the same entity, for the case where the entity is not actually redeclarable.

This happens, for instance, when merging the fields of identical class definitions from two different modules.

Definition at line 2485 of file ASTReaderDecl.cpp.

template<typename T >
void ASTDeclReader::mergeRedeclarable ( Redeclarable< T > *  DBase,
RedeclarableResult &  Redecl,
DeclID  TemplatePatternID = 0 
)

Attempts to merge the given declaration (D) with another declaration of the same entity.

Definition at line 2369 of file ASTReaderDecl.cpp.

References clang::Redeclarable< decl_type >::isFirstDecl().

template<typename T >
void ASTDeclReader::mergeRedeclarable ( Redeclarable< T > *  DBase,
T *  Existing,
RedeclarableResult &  Redecl,
DeclID  TemplatePatternID = 0 
)

Attempts to merge the given declaration (D) with another declaration of the same entity.

Definition at line 2443 of file ASTReaderDecl.cpp.

References clang::CXXRecordDecl::getCanonicalDecl(), clang::Redeclarable< decl_type >::PreviousDeclLink(), and clang::Redeclarable< decl_type >::RedeclLink.

void ASTDeclReader::mergeTemplatePattern ( RedeclarableTemplateDecl D,
RedeclarableTemplateDecl Existing,
DeclID  DsID,
bool  IsKeyDecl 
)

Merge together the pattern declarations from two template declarations.

Definition at line 2400 of file ASTReaderDecl.cpp.

References getCanonicalDecl(), clang::TemplateDecl::getTemplatedDecl(), and Result.

void ASTDeclReader::ReadFunctionDefinition ( FunctionDecl FD)

Definition at line 454 of file ASTReaderDecl.cpp.

References clang::if(), and clang::serialization::MK_MainFile.

ObjCTypeParamList * ASTDeclReader::ReadObjCTypeParamList ( )

Definition at line 973 of file ASTReaderDecl.cpp.

References clang::ObjCTypeParamList::create().

static void clang::ASTDeclReader::setNextObjCCategory ( ObjCCategoryDecl Cat,
ObjCCategoryDecl Next 
)
inlinestatic

Definition at line 276 of file ASTReaderDecl.cpp.

References Next.

void ASTDeclReader::UpdateDecl ( Decl D,
llvm::SmallVectorImpl< serialization::DeclID > &  PendingLazySpecializationIDs 
)

Definition at line 3939 of file ASTReaderDecl.cpp.

References clang::Decl::addAttr(), clang::ASTContext::adjustDeducedFunctionResultType(), clang::Module::AllVisible, clang::EvaluatedStmt::CheckedICE, clang::TemplateArgumentList::CreateCopy(), clang::VarDecl::ensureEvaluatedStmt(), forAllLaterRedecls(), clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::getFunctionType(), clang::VarDecl::getInit(), clang::ASTContext::getLangOpts(), clang::VarDecl::getMemberSpecializationInfo(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplateOrPartial(), clang::ASTReader::getSubmodule(), clang::Decl::hasAttrs(), clang::EvaluatedStmt::IsICE, clang::isUnresolvedExceptionSpec(), clang::Decl::markUsed(), merged_redecls(), clang::ASTContext::mergeDefinitionIntoModule(), clang::Module::NameVisibility, clang::NamespaceDecl::setAnonymousNamespace(), clang::FunctionDecl::setImplicitlyInline(), clang::VarDecl::setInit(), clang::DeclaratorDecl::setInnerLocStart(), clang::ClassTemplateSpecializationDecl::setInstantiationOf(), clang::ASTContext::setManglingNumber(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::ASTContext::setStaticLocalNumber(), clang::CXXRecordDecl::setTemplateSpecializationKind(), clang::serialization::UPD_ADDED_ATTR_TO_RECORD, clang::serialization::UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, clang::serialization::UPD_CXX_ADDED_FUNCTION_DEFINITION, clang::serialization::UPD_CXX_ADDED_IMPLICIT_MEMBER, clang::serialization::UPD_CXX_ADDED_TEMPLATE_SPECIALIZATION, clang::serialization::UPD_CXX_DEDUCED_RETURN_TYPE, clang::serialization::UPD_CXX_INSTANTIATED_CLASS_DEFINITION, clang::serialization::UPD_CXX_INSTANTIATED_DEFAULT_ARGUMENT, clang::serialization::UPD_CXX_INSTANTIATED_DEFAULT_MEMBER_INITIALIZER, clang::serialization::UPD_CXX_INSTANTIATED_STATIC_DATA_MEMBER, clang::serialization::UPD_CXX_RESOLVED_DTOR_DELETE, clang::serialization::UPD_CXX_RESOLVED_EXCEPTION_SPEC, clang::serialization::UPD_DECL_EXPORTED, clang::serialization::UPD_DECL_MARKED_OPENMP_DECLARETARGET, clang::serialization::UPD_DECL_MARKED_OPENMP_THREADPRIVATE, clang::serialization::UPD_DECL_MARKED_USED, clang::serialization::UPD_MANGLING_NUMBER, and clang::serialization::UPD_STATIC_LOCAL_NUMBER.

void ASTDeclReader::Visit ( Decl D)
void ASTDeclReader::VisitAccessSpecDecl ( AccessSpecDecl D)

Definition at line 1922 of file ASTReaderDecl.cpp.

References clang::AccessSpecDecl::setColonLoc().

void ASTDeclReader::VisitBindingDecl ( BindingDecl BD)

Definition at line 1358 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitBlockDecl ( BlockDecl BD)
void ASTDeclReader::VisitBuiltinTemplateDecl ( BuiltinTemplateDecl D)

Definition at line 2026 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitCapturedDecl ( CapturedDecl CD)
void ASTDeclReader::VisitClassScopeFunctionSpecializationDecl ( ClassScopeFunctionSpecializationDecl D)

Definition at line 2134 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitClassTemplateDecl ( ClassTemplateDecl D)
void ASTDeclReader::VisitClassTemplatePartialSpecializationDecl ( ClassTemplatePartialSpecializationDecl D)

Definition at line 2119 of file ASTReaderDecl.cpp.

void clang::ASTDeclReader::VisitClassTemplateSpecializationDecl ( ClassTemplateSpecializationDecl D)
inline

Definition at line 303 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitClassTemplateSpecializationDeclImpl ( ClassTemplateSpecializationDecl D)
void ASTDeclReader::VisitConstructorUsingShadowDecl ( ConstructorUsingShadowDecl D)

Definition at line 1504 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitCXXConstructorDecl ( CXXConstructorDecl D)
void ASTDeclReader::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 1908 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitCXXDeductionGuideDecl ( CXXDeductionGuideDecl GD)

Definition at line 1862 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitCXXDestructorDecl ( CXXDestructorDecl D)

Definition at line 1897 of file ASTReaderDecl.cpp.

References clang::CXXDestructorDecl::getCanonicalDecl().

void ASTDeclReader::VisitCXXMethodDecl ( CXXMethodDecl D)
void clang::ASTDeclReader::VisitCXXRecordDecl ( CXXRecordDecl D)
inline

Definition at line 300 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitCXXRecordDeclImpl ( CXXRecordDecl D)
void ASTDeclReader::VisitDecl ( Decl D)
void ASTDeclReader::VisitDeclaratorDecl ( DeclaratorDecl DD)

Definition at line 758 of file ASTReaderDecl.cpp.

References clang::DeclaratorDecl::setInnerLocStart().

std::pair< uint64_t, uint64_t > ASTDeclReader::VisitDeclContext ( DeclContext DC)

Definition at line 2300 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitDecompositionDecl ( DecompositionDecl DD)

Definition at line 1351 of file ASTReaderDecl.cpp.

References I.

void ASTDeclReader::VisitEmptyDecl ( EmptyDecl D)

Definition at line 2295 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitEnumConstantDecl ( EnumConstantDecl ECD)
void ASTDeclReader::VisitEnumDecl ( EnumDecl ED)
void ASTDeclReader::VisitExportDecl ( ExportDecl D)

Definition at line 1420 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitFieldDecl ( FieldDecl FD)

Definition at line 1219 of file ASTReaderDecl.cpp.

References clang::NamedDecl::getDeclName().

void ASTDeclReader::VisitFileScopeAsmDecl ( FileScopeAsmDecl AD)
void ASTDeclReader::VisitFriendDecl ( FriendDecl D)

Definition at line 1927 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitFriendTemplateDecl ( FriendTemplateDecl D)

Definition at line 1941 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitFunctionDecl ( FunctionDecl FD)
void ASTDeclReader::VisitFunctionTemplateDecl ( FunctionTemplateDecl D)

Definition at line 2140 of file ASTReaderDecl.cpp.

References AddLazySpecializations().

void ASTDeclReader::VisitImplicitParamDecl ( ImplicitParamDecl PD)

Definition at line 1325 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitImportDecl ( ImportDecl D)

Definition at line 1912 of file ASTReaderDecl.cpp.

References I.

void ASTDeclReader::VisitIndirectFieldDecl ( IndirectFieldDecl FD)

Definition at line 1245 of file ASTReaderDecl.cpp.

References clang::for(), and I.

void ASTDeclReader::VisitLabelDecl ( LabelDecl LD)

Definition at line 1425 of file ASTReaderDecl.cpp.

References clang::LabelDecl::setLocStart().

void ASTDeclReader::VisitLinkageSpecDecl ( LinkageSpecDecl D)
void ASTDeclReader::VisitMSPropertyDecl ( MSPropertyDecl FD)

Definition at line 1239 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitNamedDecl ( NamedDecl ND)

Definition at line 608 of file ASTReaderDecl.cpp.

References clang::NamedDecl::setDeclName().

void ASTDeclReader::VisitNamespaceAliasDecl ( NamespaceAliasDecl D)

Definition at line 1462 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitNamespaceDecl ( NamespaceDecl D)
void ASTDeclReader::VisitNonTypeTemplateParmDecl ( NonTypeTemplateParmDecl D)
void ASTDeclReader::VisitObjCAtDefsFieldDecl ( ObjCAtDefsFieldDecl D)

Definition at line 1127 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitObjCCategoryDecl ( ObjCCategoryDecl D)
void ASTDeclReader::VisitObjCCategoryImplDecl ( ObjCCategoryImplDecl D)

Definition at line 1191 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitObjCCompatibleAliasDecl ( ObjCCompatibleAliasDecl D)
void ASTDeclReader::VisitObjCContainerDecl ( ObjCContainerDecl D)
void ASTDeclReader::VisitObjCImplDecl ( ObjCImplDecl D)

Definition at line 1186 of file ASTReaderDecl.cpp.

References clang::ObjCImplDecl::setClassInterface().

void ASTDeclReader::VisitObjCImplementationDecl ( ObjCImplementationDecl D)
void ASTDeclReader::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)
void ASTDeclReader::VisitObjCIvarDecl ( ObjCIvarDecl D)
void ASTDeclReader::VisitObjCMethodDecl ( ObjCMethodDecl D)
void ASTDeclReader::VisitObjCPropertyDecl ( ObjCPropertyDecl D)
void ASTDeclReader::VisitObjCPropertyImplDecl ( ObjCPropertyImplDecl D)
void ASTDeclReader::VisitObjCProtocolDecl ( ObjCProtocolDecl D)

Definition at line 1098 of file ASTReaderDecl.cpp.

References clang::ObjCProtocolDecl::getCanonicalDecl().

void ASTDeclReader::VisitObjCTypeParamDecl ( ObjCTypeParamDecl D)

Definition at line 958 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitOMPCapturedExprDecl ( OMPCapturedExprDecl D)

Definition at line 2521 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitOMPDeclareReductionDecl ( OMPDeclareReductionDecl D)
void ASTDeclReader::VisitOMPThreadPrivateDecl ( OMPThreadPrivateDecl D)

Definition at line 2502 of file ASTReaderDecl.cpp.

References clang::OMPThreadPrivateDecl::varlist_size().

void ASTDeclReader::VisitParmVarDecl ( ParmVarDecl PD)
void ASTDeclReader::VisitPragmaCommentDecl ( PragmaCommentDecl D)

Definition at line 581 of file ASTReaderDecl.cpp.

References clang::Decl::setLocation().

void ASTDeclReader::VisitPragmaDetectMismatchDecl ( PragmaDetectMismatchDecl D)

Definition at line 590 of file ASTReaderDecl.cpp.

References Name, and clang::Decl::setLocation().

void clang::ASTDeclReader::VisitRecordDecl ( RecordDecl RD)
inline

Definition at line 298 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRecordDeclImpl ( RecordDecl RD)
template<typename T >
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRedeclarable ( Redeclarable< T > *  D)
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRedeclarableTemplateDecl ( RedeclarableTemplateDecl D)
void ASTDeclReader::VisitStaticAssertDecl ( StaticAssertDecl D)

Definition at line 2287 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitTagDecl ( TagDecl TD)
DeclID ASTDeclReader::VisitTemplateDecl ( TemplateDecl D)

Definition at line 1955 of file ASTReaderDecl.cpp.

References clang::TemplateDecl::init().

void ASTDeclReader::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)
void ASTDeclReader::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)
void ASTDeclReader::VisitTranslationUnitDecl ( TranslationUnitDecl TU)

Definition at line 604 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitTypeAliasDecl ( TypeAliasDecl TD)
void ASTDeclReader::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

Definition at line 2283 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitTypeDecl ( TypeDecl TD)

Definition at line 614 of file ASTReaderDecl.cpp.

References clang::TypeDecl::setLocStart().

void ASTDeclReader::VisitTypedefDecl ( TypedefDecl TD)

Definition at line 639 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitTypedefNameDecl ( TypedefNameDecl TD)
void ASTDeclReader::VisitUnresolvedUsingTypenameDecl ( UnresolvedUsingTypenameDecl D)

Definition at line 1530 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitUnresolvedUsingValueDecl ( UnresolvedUsingValueDecl D)
void ASTDeclReader::VisitUsingDecl ( UsingDecl D)
void ASTDeclReader::VisitUsingDirectiveDecl ( UsingDirectiveDecl D)

Definition at line 1512 of file ASTReaderDecl.cpp.

void ASTDeclReader::VisitUsingPackDecl ( UsingPackDecl D)

Definition at line 1484 of file ASTReaderDecl.cpp.

References I.

void ASTDeclReader::VisitUsingShadowDecl ( UsingShadowDecl D)

Definition at line 1493 of file ASTReaderDecl.cpp.

References clang::UsingShadowDecl::setTargetDecl().

void ASTDeclReader::VisitValueDecl ( ValueDecl VD)

Definition at line 745 of file ASTReaderDecl.cpp.

References clang::ValueDecl::setType().

void clang::ASTDeclReader::VisitVarDecl ( VarDecl VD)
inline

Definition at line 333 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitVarDeclImpl ( VarDecl D)
void ASTDeclReader::VisitVarTemplateDecl ( VarTemplateDecl D)

TODO: Unify with ClassTemplateDecl version? May require unifying ClassTemplateDecl and VarTemplateDecl beyond TemplateDecl...

Definition at line 2033 of file ASTReaderDecl.cpp.

References AddLazySpecializations().

void ASTDeclReader::VisitVarTemplatePartialSpecializationDecl ( VarTemplatePartialSpecializationDecl D)

TODO: Unify with ClassTemplatePartialSpecializationDecl version? May require unifying ClassTemplate(Partial)SpecializationDecl and VarTemplate(Partial)SpecializationDecl with a new data structure Template(Partial)SpecializationDecl, and using Template(Partial)SpecializationDecl as input type.

Definition at line 2219 of file ASTReaderDecl.cpp.

void clang::ASTDeclReader::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)
inline

Definition at line 313 of file ASTReaderDecl.cpp.

ASTDeclReader::RedeclarableResult ASTDeclReader::VisitVarTemplateSpecializationDeclImpl ( VarTemplateSpecializationDecl D)

TODO: Unify with ClassTemplateSpecializationDecl version? May require unifying ClassTemplate(Partial)SpecializationDecl and VarTemplate(Partial)SpecializationDecl with a new data structure Template(Partial)SpecializationDecl, and using Template(Partial)SpecializationDecl as input type.

Definition at line 2157 of file ASTReaderDecl.cpp.

References AttributeLangSupport::C, clang::TemplateArgumentList::CreateCopy(), clang::VarTemplateDecl::getCommonPtr(), clang::Decl::isCanonicalDecl(), clang::VarTemplateDecl::Common::PartialSpecializations, and clang::VarTemplateDecl::Common::Specializations.


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