clang 20.0.0git
|
Static Public Member Functions | |
template<typename DeclT > | |
static Decl * | getMostRecentDeclImpl (Redeclarable< DeclT > *D) |
static Decl * | getMostRecentDeclImpl (...) |
static Decl * | getMostRecentDecl (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) |
static void | checkMultipleDefinitionInNamedModules (ASTReader &Reader, Decl *D, Decl *Previous) |
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) |
Definition at line 147 of file ASTReaderDecl.cpp.
|
inline |
Definition at line 276 of file ASTReaderDecl.cpp.
References Loc.
Definition at line 3800 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3796 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3792 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3754 of file ASTReaderDecl.cpp.
References checkMultipleDefinitionInNamedModules(), D, clang::ASTReader::getContext(), clang::Decl::getKind(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, clang::Decl::IDNS_Type, inheritDefaultTemplateArguments(), and Previous.
|
static |
Definition at line 3565 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< FunctionDecl > * | D, | ||
Decl * | Previous, | ||
Decl * | Canon | ||
) |
Definition at line 3603 of file ASTReaderDecl.cpp.
References D, clang::Type::getAs(), clang::FunctionProtoType::getExceptionSpecType(), clang::FunctionType::getReturnType(), clang::isUndeducedReturnType(), clang::isUnresolvedExceptionSpec(), and Previous.
void clang::ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< VarDecl > * | D, | ||
Decl * | Previous, | ||
Decl * | Canon | ||
) |
Definition at line 3575 of file ASTReaderDecl.cpp.
References D, clang::VarDecl::Definition, clang::Redeclarable< decl_type >::getPreviousDecl(), clang::ASTReader::mergeDefinitionVisibility(), and Previous.
|
static |
Definition at line 3658 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3698 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::Diag(), clang::Func, clang::ASTReader::getContext(), clang::Decl::getLocation(), clang::Decl::getOwningModule(), clang::Module::getTopLevelModule(), clang::Module::isGlobalModule(), clang::ASTContext::isInSameModule(), clang::Module::isNamedModule(), clang::Module::Name, and Previous.
Referenced by attachPreviousDecl().
Definition at line 3526 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3522 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3518 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3818 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3814 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::mergeMergeable | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Attempts to merge LifetimeExtendedTemporaryDecl with identical class definitions from two different modules.
Definition at line 2992 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), clang::LifetimeExtendedTemporaryDecl::getExtendingDecl(), clang::ASTContext::getLangOpts(), clang::LifetimeExtendedTemporaryDecl::getManglingNumber(), and clang::ASTContext::setPrimaryMergedDecl().
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 3014 of file ASTReaderDecl.cpp.
References allowODRLikeMergeInC(), D, clang::ASTReader::getContext(), clang::ASTContext::getLangOpts(), clang::ASTContext::setPrimaryMergedDecl(), and clang::T.
Referenced by VisitConceptDecl(), VisitEnumConstantDecl(), VisitFieldDecl(), VisitIndirectFieldDecl(), VisitLifetimeExtendedTemporaryDecl(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingEnumDecl(), and VisitUsingPackDecl().
void ASTDeclReader::mergeRedeclarable | ( | Redeclarable< T > * | D, |
RedeclarableResult & | Redecl | ||
) |
Attempts to merge the given declaration (D) with another declaration of the same entity.
Definition at line 2836 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), clang::ASTContext::getLangOpts(), clang::Redeclarable< decl_type >::isFirstDecl(), clang::ASTDeclMerger::mergeRedeclarable(), and clang::T.
Referenced by mergeRedeclarableTemplate(), VisitCXXRecordDeclImpl(), VisitFunctionDecl(), VisitNamespaceAliasDecl(), VisitNamespaceDecl(), VisitObjCInterfaceDecl(), VisitObjCProtocolDecl(), VisitTagDecl(), VisitTypeAliasDecl(), VisitTypedefDecl(), VisitUsingShadowDecl(), and VisitVarDeclImpl().
void ASTDeclReader::mergeRedeclarableTemplate | ( | RedeclarableTemplateDecl * | D, |
RedeclarableResult & | Redecl | ||
) |
Definition at line 2886 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), and mergeRedeclarable().
Referenced by VisitClassTemplateDecl(), VisitFunctionDecl(), VisitTypeAliasTemplateDecl(), and VisitVarTemplateDecl().
void ASTDeclReader::ReadFunctionDefinition | ( | FunctionDecl * | FD | ) |
Definition at line 507 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), and clang::ASTContext::getLangOpts().
Referenced by UpdateDecl(), and Visit().
ObjCTypeParamList * ASTDeclReader::ReadObjCTypeParamList | ( | ) |
Definition at line 1214 of file ASTReaderDecl.cpp.
References clang::ObjCTypeParamList::create(), and clang::ASTReader::getContext().
Referenced by VisitObjCCategoryDecl(), and VisitObjCInterfaceDecl().
void ASTDeclReader::ReadSpecializations | ( | ModuleFile & | M, |
Decl * | D, | ||
llvm::BitstreamCursor & | DeclsCursor, | ||
bool | IsPartial | ||
) |
Definition at line 2406 of file ASTReaderDecl.cpp.
References D.
Referenced by VisitClassTemplateDecl(), VisitFunctionTemplateDecl(), and VisitVarTemplateDecl().
void ASTDeclReader::ReadVarDeclInit | ( | VarDecl * | VD | ) |
Definition at line 1687 of file ASTReaderDecl.cpp.
References clang::ASTContext::addDestruction(), clang::VarDecl::ensureEvaluatedStmt(), clang::EvaluatedStmt::Evaluated, clang::ASTReader::getContext(), clang::EvaluatedStmt::HasConstantDestruction, clang::EvaluatedStmt::HasConstantInitialization, clang::APValue::needsCleanup(), clang::EvaluatedStmt::Value, and clang::EvaluatedStmt::WasEvaluated.
Referenced by UpdateDecl(), and Visit().
|
inlinestatic |
Definition at line 314 of file ASTReaderDecl.cpp.
void ASTDeclReader::UpdateDecl | ( | Decl * | D | ) |
Definition at line 4564 of file ASTReaderDecl.cpp.
References clang::Decl::addAttr(), clang::TemplateArgumentList::CreateCopy(), D, clang::First, forAllLaterRedecls(), clang::Decl::getCanonicalDecl(), clang::CXXRecordDecl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::getFunctionType(), clang::CXXRecordDecl::getMemberSpecializationInfo(), clang::ASTReader::getSubmodule(), clang::Decl::hasAttrs(), Indirect, clang::isUnresolvedExceptionSpec(), clang::Decl::markUsed(), clang::ASTContext::mergeDefinitionIntoModule(), ReadFunctionDefinition(), ReadVarDeclInit(), clang::RecordDecl::setArgPassingRestrictions(), clang::TagDecl::setBraceRange(), clang::FunctionDecl::setImplicitlyInline(), clang::Decl::setLocation(), clang::TypeDecl::setLocStart(), clang::ASTContext::setManglingNumber(), clang::RecordDecl::setParamDestroyedInCallee(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::ASTContext::setStaticLocalNumber(), clang::TagDecl::setTagKind(), 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_VAR_DEFINITION, 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_POINT_OF_INSTANTIATION, 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_ALLOCATE, 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 | ) |
Definition at line 522 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), clang::ASTReader::GetDecl(), clang::ASTReader::GetType(), clang::QualType::getTypePtrOrNull(), clang::DeclIDBase::isValid(), ReadFunctionDefinition(), ReadVarDeclInit(), and clang::declvisitor::Base< Ptr, ImplClass, RetTy >::Visit().
void ASTDeclReader::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2344 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitBindingDecl | ( | BindingDecl * | BD | ) |
Definition at line 1747 of file ASTReaderDecl.cpp.
References VisitValueDecl().
void ASTDeclReader::VisitBlockDecl | ( | BlockDecl * | BD | ) |
Definition at line 1763 of file ASTReaderDecl.cpp.
References clang::ast_matchers::decl, clang::ASTReader::getContext(), clang::BlockDecl::setBlockMissingReturnType(), clang::BlockDecl::setBody(), clang::BlockDecl::setCanAvoidCopyToHeap(), clang::BlockDecl::setCaptures(), clang::BlockDecl::setDoesNotEscape(), clang::BlockDecl::setIsConversionFromLambda(), clang::BlockDecl::setIsVariadic(), clang::BlockDecl::setParams(), clang::BlockDecl::setSignatureAsWritten(), and VisitDecl().
void ASTDeclReader::VisitBuiltinTemplateDecl | ( | BuiltinTemplateDecl * | D | ) |
Definition at line 2467 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitCapturedDecl | ( | CapturedDecl * | CD | ) |
Definition at line 1796 of file ASTReaderDecl.cpp.
References clang::CapturedDecl::setContextParam(), clang::CapturedDecl::setNothrow(), clang::CapturedDecl::setParam(), and VisitDecl().
void ASTDeclReader::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 2447 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), clang::ASTContext::getInjectedClassNameType(), Loc, mergeRedeclarableTemplate(), ReadSpecializations(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitClassTemplatePartialSpecializationDecl | ( | ClassTemplatePartialSpecializationDecl * | D | ) |
Definition at line 2559 of file ASTReaderDecl.cpp.
References D, and VisitClassTemplateSpecializationDeclImpl().
|
inline |
Definition at line 345 of file ASTReaderDecl.cpp.
References D, and VisitClassTemplateSpecializationDeclImpl().
RedeclarableResult ASTDeclReader::VisitClassTemplateSpecializationDeclImpl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 2486 of file ASTReaderDecl.cpp.
References clang::C, clang::TemplateArgumentList::CreateCopy(), D, clang::ExplicitInstantiationInfo::ExternKeywordLoc, clang::ASTReader::getContext(), clang::Decl::isCanonicalDecl(), clang::ASTDeclMerger::MergeDefinitionData(), clang::ASTDeclMerger::mergeRedeclarable(), and VisitCXXRecordDeclImpl().
Referenced by VisitClassTemplatePartialSpecializationDecl(), and VisitClassTemplateSpecializationDecl().
void ASTDeclReader::VisitConceptDecl | ( | ConceptDecl * | D | ) |
Definition at line 2386 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTemplateDecl().
void ASTDeclReader::VisitConstructorUsingShadowDecl | ( | ConstructorUsingShadowDecl * | D | ) |
Definition at line 1919 of file ASTReaderDecl.cpp.
References D, and VisitUsingShadowDecl().
void ASTDeclReader::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 2301 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 2329 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | GD | ) |
Definition at line 2275 of file ASTReaderDecl.cpp.
References D, and VisitFunctionDecl().
void ASTDeclReader::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 2315 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 2283 of file ASTReaderDecl.cpp.
References clang::ASTContext::addOverriddenMethod(), D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::Decl::isCanonicalDecl(), and VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
|
inline |
Definition at line 340 of file ASTReaderDecl.cpp.
References D, and VisitCXXRecordDeclImpl().
RedeclarableResult ASTDeclReader::VisitCXXRecordDeclImpl | ( | CXXRecordDecl * | D | ) |
Definition at line 2193 of file ASTReaderDecl.cpp.
References clang::C, D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::DeclIDBase::getRawValue(), clang::DeclIDBase::isValid(), clang::ASTDeclMerger::mergeLambda(), mergeRedeclarable(), clang::MemberSpecializationInfo::setPointOfInstantiation(), and VisitRecordDeclImpl().
Referenced by VisitClassTemplateSpecializationDeclImpl(), and VisitCXXRecordDecl().
void ASTDeclReader::VisitDecl | ( | Decl * | D | ) |
Definition at line 560 of file ASTReaderDecl.cpp.
References clang::Module::AllVisible, D, clang::Decl::FromASTFile, clang::ASTReader::getContext(), clang::ASTContext::getLangOpts(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::ASTReader::getSubmodule(), clang::ASTContext::getTranslationUnitDecl(), clang::DeclIDBase::isInvalid(), clang::Decl::isTemplateParameter(), clang::Decl::isTemplateParameterPack(), clang::Decl::ModulePrivate, clang::Decl::ReachableWhenImported, clang::Decl::setAccess(), clang::Decl::setDeclContext(), clang::Decl::setImplicit(), clang::Decl::setLocation(), clang::Decl::setModuleOwnershipKind(), clang::Decl::setOwningModuleID(), clang::Decl::setReferenced(), clang::Decl::setTopLevelDeclInObjCContainer(), clang::Decl::setVisibleDespiteOwningModule(), clang::Decl::Unowned, clang::Decl::Visible, and clang::Decl::VisibleWhenImported.
Referenced by VisitAccessSpecDecl(), VisitBlockDecl(), VisitCapturedDecl(), VisitEmptyDecl(), VisitExportDecl(), VisitFileScopeAsmDecl(), VisitFriendDecl(), VisitFriendTemplateDecl(), VisitImplicitConceptSpecializationDecl(), VisitImportDecl(), VisitLifetimeExtendedTemporaryDecl(), VisitLinkageSpecDecl(), VisitNamedDecl(), VisitObjCPropertyImplDecl(), VisitOMPAllocateDecl(), VisitOMPRequiresDecl(), VisitOMPThreadPrivateDecl(), VisitPragmaCommentDecl(), VisitPragmaDetectMismatchDecl(), VisitStaticAssertDecl(), and VisitTopLevelStmtDecl().
void ASTDeclReader::VisitDeclaratorDecl | ( | DeclaratorDecl * | DD | ) |
Definition at line 892 of file ASTReaderDecl.cpp.
References clang::ASTContext::CreateTypeSourceInfo(), clang::ASTReader::getContext(), clang::QualType::isNull(), clang::DeclaratorDecl::setInnerLocStart(), clang::DeclaratorDecl::setTypeSourceInfo(), and VisitValueDecl().
Referenced by VisitFieldDecl(), VisitFunctionDecl(), VisitMSPropertyDecl(), VisitNonTypeTemplateParmDecl(), and VisitVarDeclImpl().
std::pair< uint64_t, uint64_t > ASTDeclReader::VisitDeclContext | ( | DeclContext * | DC | ) |
Definition at line 2768 of file ASTReaderDecl.cpp.
Referenced by VisitHLSLBufferDecl().
void ASTDeclReader::VisitDecompositionDecl | ( | DecompositionDecl * | DD | ) |
Definition at line 1738 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2750 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitEnumConstantDecl | ( | EnumConstantDecl * | ECD | ) |
Definition at line 884 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), mergeMergeable(), clang::EnumConstantDecl::setInitExpr(), clang::EnumConstantDecl::setInitVal(), and VisitValueDecl().
void ASTDeclReader::VisitEnumDecl | ( | EnumDecl * | ED | ) |
Definition at line 766 of file ASTReaderDecl.cpp.
References D, clang::TagDecl::demoteThisDefinitionToDeclaration(), clang::EnumDecl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::getLangOpts(), clang::EnumDecl::getMemberSpecializationInfo(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::EnumDecl::getODRHash(), clang::TagDecl::isCompleteDefinition(), clang::Decl::isFromASTFile(), merged_redecls(), clang::ASTReader::mergeDefinitionVisibility(), clang::EnumDecl::setFixed(), clang::EnumDecl::setIntegerType(), clang::EnumDecl::setIntegerTypeSourceInfo(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::EnumDecl::setPromotionType(), clang::EnumDecl::setScoped(), clang::EnumDecl::setScopedUsingClassTag(), clang::shouldSkipCheckingODR(), and VisitTagDecl().
void ASTDeclReader::VisitExportDecl | ( | ExportDecl * | D | ) |
Definition at line 1816 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitFieldDecl | ( | FieldDecl * | FD | ) |
Definition at line 1523 of file ASTReaderDecl.cpp.
References clang::FieldDecl::CapturedVLAType, clang::ASTReader::getContext(), clang::NamedDecl::getDeclName(), clang::ASTContext::getLangOpts(), clang::NamedDecl::isPlaceholderVar(), mergeMergeable(), clang::FieldDecl::setBitWidth(), clang::ASTContext::setInstantiatedFromUnnamedFieldDecl(), and VisitDeclaratorDecl().
Referenced by VisitObjCAtDefsFieldDecl(), and VisitObjCIvarDecl().
void ASTDeclReader::VisitFileScopeAsmDecl | ( | FileScopeAsmDecl * | AD | ) |
Definition at line 1752 of file ASTReaderDecl.cpp.
References clang::FileScopeAsmDecl::setAsmString(), clang::FileScopeAsmDecl::setRParenLoc(), and VisitDecl().
void ASTDeclReader::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 2349 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitDecl().
void ASTDeclReader::VisitFriendTemplateDecl | ( | FriendTemplateDecl * | D | ) |
Definition at line 2364 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitDecl().
void ASTDeclReader::VisitFunctionDecl | ( | FunctionDecl * | FD | ) |
Definition at line 907 of file ASTReaderDecl.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::C, clang::Type::castAs(), clang::FunctionTemplateSpecializationInfo::Create(), clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(), clang::TemplateArgumentList::CreateCopy(), clang::declaresSameEntity(), clang::ASTReader::Diag(), clang::Decl::getAttr(), clang::Type::getContainedAutoType(), clang::ASTReader::getContext(), clang::NamedDecl::getDeclName(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::FunctionTemplateSpecializationInfo::getFunction(), clang::SYCLKernelInfo::getKernelEntryPointDecl(), clang::ASTContext::getLangOpts(), clang::Decl::getLocation(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::FunctionType::getReturnType(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::TypeSourceInfo::getType(), clang::ASTReader::GetType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::Decl::hasAttr(), clang::Decl::isCanonicalDecl(), clang::FunctionDecl::isDefaulted(), clang::FunctionDecl::isDeletedAsWritten(), clang::FunctionDecl::isExplicitlyDefaulted(), clang::DeclAccessPair::make(), mergeRedeclarable(), clang::ASTDeclMerger::mergeRedeclarable(), mergeRedeclarableTemplate(), clang::FunctionTemplateSpecializationInfo::Profile(), clang::Decl::setCachedLinkage(), clang::FunctionDecl::setConstexprKind(), clang::FunctionDecl::setDefaulted(), clang::FunctionDecl::setDefaultedOrDeletedInfo(), clang::FunctionDecl::setDefaultLoc(), clang::FunctionDecl::setDeletedAsWritten(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::FunctionDecl::setDescribedFunctionTemplate(), clang::FunctionDecl::setExplicitlyDefaulted(), clang::FunctionDecl::setFriendConstraintRefersToEnclosingTemplate(), clang::FunctionDecl::setHasImplicitReturnZero(), clang::FunctionDecl::setHasInheritedPrototype(), clang::FunctionDecl::setHasSkippedBody(), clang::FunctionDecl::setHasWrittenPrototype(), clang::FunctionDecl::setImplicitlyInline(), clang::FunctionDecl::setIneligibleOrNotSelected(), clang::FunctionDecl::setInlineSpecified(), clang::FunctionDecl::setInstantiatedFromDecl(), clang::FunctionDecl::setIsMultiVersion(), clang::FunctionDecl::setIsPureVirtual(), clang::FunctionDecl::setLateTemplateParsed(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::FunctionDecl::setStorageClass(), clang::FunctionDecl::setTrivial(), clang::FunctionDecl::setTrivialForCall(), clang::ValueDecl::setType(), clang::FunctionDecl::setUsesSEHTry(), clang::FunctionDecl::setVirtualAsWritten(), clang::FunctionTemplateDecl::Common::Specializations, clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_DependentNonTemplate, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, clang::FunctionDecl::TK_NonTemplate, VisitDeclaratorDecl(), and VisitRedeclarable().
Referenced by VisitCXXDeductionGuideDecl(), and VisitCXXMethodDecl().
void ASTDeclReader::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 2576 of file ASTReaderDecl.cpp.
References D, Loc, ReadSpecializations(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitHLSLBufferDecl | ( | HLSLBufferDecl * | D | ) |
Definition at line 1856 of file ASTReaderDecl.cpp.
References D, VisitDeclContext(), and VisitNamedDecl().
void ASTDeclReader::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 2392 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitImplicitParamDecl | ( | ImplicitParamDecl * | PD | ) |
Definition at line 1706 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2334 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | FD | ) |
Definition at line 1584 of file ASTReaderDecl.cpp.
References clang::for(), clang::ASTReader::getContext(), mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 1821 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 2754 of file ASTReaderDecl.cpp.
References clang::ASTContext::addDestruction(), D, clang::Decl::getASTContext(), mergeMergeable(), and VisitDecl().
void ASTDeclReader::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 1809 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitMSGuidDecl | ( | MSGuidDecl * | D | ) |
Definition at line 1549 of file ASTReaderDecl.cpp.
References clang::C, D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::setPrimaryMergedDecl(), and VisitValueDecl().
void ASTDeclReader::VisitMSPropertyDecl | ( | MSPropertyDecl * | FD | ) |
Definition at line 1543 of file ASTReaderDecl.cpp.
References VisitDeclaratorDecl().
void ASTDeclReader::VisitNamedDecl | ( | NamedDecl * | ND | ) |
Definition at line 685 of file ASTReaderDecl.cpp.
References clang::NamedDecl::setDeclName(), and VisitDecl().
Referenced by VisitHLSLBufferDecl(), VisitLabelDecl(), VisitNamespaceAliasDecl(), VisitNamespaceDecl(), VisitObjCCompatibleAliasDecl(), VisitObjCContainerDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitTemplateDecl(), VisitTypeDecl(), VisitUnresolvedUsingIfExistsDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingEnumDecl(), VisitUsingPackDecl(), VisitUsingShadowDecl(), and VisitValueDecl().
void ASTDeclReader::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 1865 of file ASTReaderDecl.cpp.
References D, mergeRedeclarable(), VisitNamedDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 1826 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::GetDecl(), clang::BitsUnpacker::getNextBit(), clang::DeclIDBase::isValid(), mergeRedeclarable(), VisitNamedDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 2694 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitDeclaratorDecl().
void ASTDeclReader::VisitObjCAtDefsFieldDecl | ( | ObjCAtDefsFieldDecl * | D | ) |
Definition at line 1424 of file ASTReaderDecl.cpp.
References VisitFieldDecl().
void ASTDeclReader::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
category.
Definition at line 1428 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), clang::ObjCCategoryDecl::IsClassExtension(), clang::ObjCInterfaceDecl::mergeClassExtensionProtocolList(), ReadObjCTypeParamList(), clang::ObjCCategoryDecl::setCategoryNameLoc(), clang::ObjCCategoryDecl::setIvarLBraceLoc(), clang::ObjCCategoryDecl::setIvarRBraceLoc(), clang::ObjCCategoryDecl::setProtocolList(), and VisitObjCContainerDecl().
void ASTDeclReader::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 1493 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCCompatibleAliasDecl | ( | ObjCCompatibleAliasDecl * | D | ) |
Definition at line 1460 of file ASTReaderDecl.cpp.
References clang::ObjCCompatibleAliasDecl::setClassInterface(), and VisitNamedDecl().
void ASTDeclReader::VisitObjCContainerDecl | ( | ObjCContainerDecl * | D | ) |
Definition at line 1208 of file ASTReaderDecl.cpp.
References clang::ObjCContainerDecl::setAtEndRange(), clang::ObjCContainerDecl::setAtStartLoc(), and VisitNamedDecl().
Referenced by VisitObjCCategoryDecl(), VisitObjCImplDecl(), VisitObjCInterfaceDecl(), and VisitObjCProtocolDecl().
void ASTDeclReader::VisitObjCImplDecl | ( | ObjCImplDecl * | D | ) |
Definition at line 1488 of file ASTReaderDecl.cpp.
References D, and VisitObjCContainerDecl().
Referenced by VisitObjCCategoryImplDecl(), and VisitObjCImplementationDecl().
void ASTDeclReader::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 1498 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 1284 of file ASTReaderDecl.cpp.
References ID, clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), ReadObjCTypeParamList(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 1321 of file ASTReaderDecl.cpp.
References clang::ASTReader::Diag(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCIvarDecl::getContainingInterface(), clang::Decl::getDeclContext(), clang::NamedDecl::getIdentifier(), clang::Decl::getLocation(), clang::Decl::isInvalidDecl(), clang::ObjCInterfaceDecl::lookupInstanceVariable(), clang::ObjCIvarDecl::setAccessControl(), clang::ObjCIvarDecl::setNextIvar(), clang::ObjCIvarDecl::setSynthesize(), and VisitFieldDecl().
void ASTDeclReader::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 1153 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), clang::ObjCMethodDecl::hasRedeclaration(), clang::ObjCMethodDecl::setCmdDecl(), clang::ObjCMethodDecl::setDeclImplementation(), clang::ObjCMethodDecl::setDefined(), clang::ObjCMethodDecl::setHasRedeclaration(), clang::ObjCMethodDecl::setHasSkippedBody(), clang::ObjCMethodDecl::setInstanceMethod(), clang::ObjCMethodDecl::setIsRedeclaration(), clang::ObjCMethodDecl::setObjCDeclQualifier(), clang::ASTContext::setObjCMethodRedeclaration(), clang::ObjCMethodDecl::setOverriding(), clang::ObjCMethodDecl::setPropertyAccessor(), clang::ObjCMethodDecl::setRelatedResultType(), clang::ObjCMethodDecl::setReturnType(), clang::ObjCMethodDecl::setReturnTypeSourceInfo(), clang::ObjCMethodDecl::setSelfDecl(), clang::ObjCMethodDecl::setSynthesizedAccessorStub(), clang::ObjCMethodDecl::setVariadic(), and VisitNamedDecl().
void ASTDeclReader::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 1465 of file ASTReaderDecl.cpp.
References D, clang::DeclarationName::getObjCSelector(), clang::T, and VisitNamedDecl().
void ASTDeclReader::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 1511 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 1395 of file ASTReaderDecl.cpp.
References clang::ObjCProtocolDecl::getCanonicalDecl(), clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 1199 of file ASTReaderDecl.cpp.
References D, and VisitTypedefNameDecl().
void ASTDeclReader::VisitOMPAllocateDecl | ( | OMPAllocateDecl * | D | ) |
Definition at line 3038 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPCapturedExprDecl | ( | OMPCapturedExprDecl * | D | ) |
Definition at line 3072 of file ASTReaderDecl.cpp.
References D, and VisitVarDecl().
void ASTDeclReader::VisitOMPDeclareMapperDecl | ( | OMPDeclareMapperDecl * | D | ) |
Definition at line 3065 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitValueDecl().
void ASTDeclReader::VisitOMPDeclareReductionDecl | ( | OMPDeclareReductionDecl * | D | ) |
Definition at line 3048 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), clang::Init, clang::Decl::setLocation(), and VisitValueDecl().
void ASTDeclReader::VisitOMPRequiresDecl | ( | OMPRequiresDecl * | D | ) |
Definition at line 3043 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPThreadPrivateDecl | ( | OMPThreadPrivateDecl * | D | ) |
Definition at line 3033 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitParmVarDecl | ( | ParmVarDecl * | PD | ) |
Definition at line 1710 of file ASTReaderDecl.cpp.
References clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::VarDecl::ParmVarDeclBits, clang::ParmVarDecl::setObjCMethodScopeInfo(), clang::ParmVarDecl::setScopeInfo(), clang::ParmVarDecl::setUninstantiatedDefaultArg(), and VisitVarDecl().
void ASTDeclReader::VisitPragmaCommentDecl | ( | PragmaCommentDecl * | D | ) |
Definition at line 658 of file ASTReaderDecl.cpp.
References D, memcpy(), clang::Decl::setLocation(), and VisitDecl().
void ASTDeclReader::VisitPragmaDetectMismatchDecl | ( | PragmaDetectMismatchDecl * | D | ) |
Definition at line 667 of file ASTReaderDecl.cpp.
References D, memcpy(), clang::Decl::setLocation(), and VisitDecl().
void ASTDeclReader::VisitRecordDecl | ( | RecordDecl * | RD | ) |
Definition at line 842 of file ASTReaderDecl.cpp.
References D, clang::TagDecl::demoteThisDefinitionToDeclaration(), clang::TagDecl::getCanonicalDecl(), clang::RecordDecl::getODRHash(), clang::TagDecl::isCompleteDefinition(), clang::Decl::isFromASTFile(), merged_redecls(), clang::ASTReader::mergeDefinitionVisibility(), and VisitRecordDeclImpl().
RedeclarableResult ASTDeclReader::VisitRecordDeclImpl | ( | RecordDecl * | RD | ) |
Definition at line 820 of file ASTReaderDecl.cpp.
References clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::RecordDecl::setAnonymousStructOrUnion(), clang::RecordDecl::setArgPassingRestrictions(), clang::RecordDecl::setHasFlexibleArrayMember(), clang::RecordDecl::setHasNonTrivialToPrimitiveCopyCUnion(), clang::RecordDecl::setHasNonTrivialToPrimitiveDefaultInitializeCUnion(), clang::RecordDecl::setHasNonTrivialToPrimitiveDestructCUnion(), clang::RecordDecl::setHasObjectMember(), clang::RecordDecl::setHasUninitializedExplicitInitFields(), clang::RecordDecl::setHasVolatileMember(), clang::RecordDecl::setNonTrivialToPrimitiveCopy(), clang::RecordDecl::setNonTrivialToPrimitiveDefaultInitialize(), clang::RecordDecl::setNonTrivialToPrimitiveDestroy(), clang::RecordDecl::setParamDestroyedInCallee(), and VisitTagDecl().
Referenced by VisitCXXRecordDeclImpl(), and VisitRecordDecl().
RedeclarableResult ASTDeclReader::VisitRedeclarable | ( | Redeclarable< T > * | D | ) |
Definition at line 2775 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), clang::ASTReader::GetDecl(), clang::DeclIDBase::isInvalid(), clang::Redeclarable< decl_type >::PreviousDeclLink(), and clang::T.
Referenced by VisitFunctionDecl(), VisitNamespaceAliasDecl(), VisitNamespaceDecl(), VisitObjCInterfaceDecl(), VisitObjCProtocolDecl(), VisitRedeclarableTemplateDecl(), VisitTagDecl(), VisitTypedefNameDecl(), VisitUsingShadowDecl(), and VisitVarDeclImpl().
RedeclarableResult ASTDeclReader::VisitRedeclarableTemplateDecl | ( | RedeclarableTemplateDecl * | D | ) |
Definition at line 2417 of file ASTReaderDecl.cpp.
References clang::RedeclarableTemplateDecl::Common, D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::Decl::getKind(), clang::RedeclarableTemplateDecl::newCommon(), VisitRedeclarable(), and VisitTemplateDecl().
Referenced by VisitClassTemplateDecl(), VisitFunctionTemplateDecl(), VisitTypeAliasTemplateDecl(), and VisitVarTemplateDecl().
void ASTDeclReader::VisitRequiresExprBodyDecl | ( | RequiresExprBodyDecl * | D | ) |
Definition at line 2403 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2742 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
RedeclarableResult ASTDeclReader::VisitTagDecl | ( | TagDecl * | TD | ) |
Definition at line 729 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), mergeRedeclarable(), clang::TagDecl::setBraceRange(), clang::TagDecl::setCompleteDefinition(), clang::TagDecl::setCompleteDefinitionRequired(), clang::TagDecl::setEmbeddedInDeclarator(), clang::TagDecl::setFreeStanding(), clang::TagDecl::setTagKind(), VisitRedeclarable(), and VisitTypeDecl().
Referenced by VisitEnumDecl(), and VisitRecordDeclImpl().
void ASTDeclReader::VisitTemplateDecl | ( | TemplateDecl * | D | ) |
Definition at line 2378 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
Referenced by VisitConceptDecl(), VisitRedeclarableTemplateDecl(), and VisitTemplateTemplateParmDecl().
void ASTDeclReader::VisitTemplateParamObjectDecl | ( | TemplateParamObjectDecl * | D | ) |
Definition at line 1573 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::setPrimaryMergedDecl(), and VisitValueDecl().
void ASTDeclReader::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 2717 of file ASTReaderDecl.cpp.
References D, clang::Data, clang::ASTReader::getContext(), and VisitTemplateDecl().
void ASTDeclReader::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 2672 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitTypeDecl().
void ASTDeclReader::VisitTopLevelStmtDecl | ( | TopLevelStmtDecl * | D | ) |
Definition at line 1758 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | TU | ) |
Definition at line 681 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTypeAliasDecl | ( | TypeAliasDecl * | TD | ) |
Definition at line 720 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), clang::TypeAliasDecl::setDescribedAliasTemplate(), and VisitTypedefNameDecl().
void ASTDeclReader::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2737 of file ASTReaderDecl.cpp.
References D, mergeRedeclarableTemplate(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitTypeDecl | ( | TypeDecl * | TD | ) |
Definition at line 691 of file ASTReaderDecl.cpp.
References clang::TypeDecl::setLocStart(), and VisitNamedDecl().
Referenced by VisitTagDecl(), VisitTemplateTypeParmDecl(), VisitTypedefNameDecl(), and VisitUnresolvedUsingTypenameDecl().
void ASTDeclReader::VisitTypedefDecl | ( | TypedefDecl * | TD | ) |
Definition at line 715 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), and VisitTypedefNameDecl().
RedeclarableResult ASTDeclReader::VisitTypedefNameDecl | ( | TypedefNameDecl * | TD | ) |
Definition at line 698 of file ASTReaderDecl.cpp.
References clang::TypedefNameDecl::setModedTypeSourceInfo(), clang::TypedefNameDecl::setTypeSourceInfo(), VisitRedeclarable(), and VisitTypeDecl().
Referenced by VisitObjCTypeParamDecl(), VisitTypeAliasDecl(), and VisitTypedefDecl().
void ASTDeclReader::VisitUnnamedGlobalConstantDecl | ( | UnnamedGlobalConstantDecl * | D | ) |
Definition at line 1562 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), clang::ASTReader::getContext(), clang::ASTContext::setPrimaryMergedDecl(), and VisitValueDecl().
void ASTDeclReader::VisitUnresolvedUsingIfExistsDecl | ( | UnresolvedUsingIfExistsDecl * | D | ) |
Definition at line 1954 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 1945 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTypeDecl().
void ASTDeclReader::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 1936 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 1875 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 1927 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 1887 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingEnumDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 1898 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 1907 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeRedeclarable(), clang::ASTContext::setInstantiatedFromUsingShadowDecl(), VisitNamedDecl(), and VisitRedeclarable().
Referenced by VisitConstructorUsingShadowDecl().
void ASTDeclReader::VisitValueDecl | ( | ValueDecl * | VD | ) |
Definition at line 873 of file ASTReaderDecl.cpp.
References clang::ValueDecl::setType(), and VisitNamedDecl().
Referenced by VisitBindingDecl(), VisitDeclaratorDecl(), VisitEnumConstantDecl(), VisitIndirectFieldDecl(), VisitMSGuidDecl(), VisitOMPDeclareMapperDecl(), VisitOMPDeclareReductionDecl(), VisitTemplateParamObjectDecl(), VisitUnnamedGlobalConstantDecl(), and VisitUnresolvedUsingValueDecl().
|
inline |
Definition at line 379 of file ASTReaderDecl.cpp.
References VisitVarDeclImpl().
Referenced by VisitDecompositionDecl(), VisitImplicitParamDecl(), VisitOMPCapturedExprDecl(), and VisitParmVarDecl().
RedeclarableResult ASTDeclReader::VisitVarDeclImpl | ( | VarDecl * | D | ) |
Definition at line 1597 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), clang::ASTContext::getLangOpts(), clang::Decl::getLexicalDeclContext(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::VarDecl::getStorageClass(), clang::ASTReader::GetType(), clang::Decl::hasAttr(), clang::DeclContext::isFunctionOrMethod(), Loc, mergeRedeclarable(), clang::None, clang::VarDecl::NonParmVarDeclBits, clang::SC_Extern, clang::ASTContext::setBlockVarCopyInit(), clang::Decl::setCachedLinkage(), clang::VarDecl::setDescribedVarTemplate(), clang::ASTContext::setInstantiatedFromStaticDataMember(), clang::Decl::setLocalExternDecl(), clang::ValueDecl::setType(), clang::VarDecl::VarDeclBits, VisitDeclaratorDecl(), and VisitRedeclarable().
Referenced by VisitVarDecl(), and VisitVarTemplateSpecializationDeclImpl().
void ASTDeclReader::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
TODO: Unify with ClassTemplateDecl version? May require unifying ClassTemplateDecl and VarTemplateDecl beyond TemplateDecl...
Definition at line 2474 of file ASTReaderDecl.cpp.
References D, Loc, mergeRedeclarableTemplate(), ReadSpecializations(), and VisitRedeclarableTemplateDecl().
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 2657 of file ASTReaderDecl.cpp.
References D, and VisitVarTemplateSpecializationDeclImpl().
|
inline |
Definition at line 354 of file ASTReaderDecl.cpp.
References D, and VisitVarTemplateSpecializationDeclImpl().
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 2590 of file ASTReaderDecl.cpp.
References clang::C, clang::TemplateArgumentList::CreateCopy(), D, clang::ExplicitInstantiationInfo::ExternKeywordLoc, clang::ASTReader::getContext(), clang::Decl::isCanonicalDecl(), clang::ASTDeclMerger::mergeRedeclarable(), and VisitVarDeclImpl().
Referenced by VisitVarTemplatePartialSpecializationDecl(), and VisitVarTemplateSpecializationDecl().