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 3788 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3784 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3780 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3742 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 3553 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< FunctionDecl > * | D, | ||
Decl * | Previous, | ||
Decl * | Canon | ||
) |
Definition at line 3591 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 3563 of file ASTReaderDecl.cpp.
References D, clang::VarDecl::Definition, clang::Redeclarable< decl_type >::getPreviousDecl(), clang::ASTReader::mergeDefinitionVisibility(), and Previous.
|
static |
Definition at line 3646 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3686 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 3514 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3510 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3506 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3806 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3802 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 2980 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 3002 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 2824 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 2874 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 508 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), and clang::ASTContext::getLangOpts().
Referenced by UpdateDecl(), and Visit().
ObjCTypeParamList * ASTDeclReader::ReadObjCTypeParamList | ( | ) |
Definition at line 1203 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 2395 of file ASTReaderDecl.cpp.
References D.
Referenced by VisitClassTemplateDecl(), VisitFunctionTemplateDecl(), and VisitVarTemplateDecl().
void ASTDeclReader::ReadVarDeclInit | ( | VarDecl * | VD | ) |
Definition at line 1676 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 4552 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 523 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 2333 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitBindingDecl | ( | BindingDecl * | BD | ) |
Definition at line 1736 of file ASTReaderDecl.cpp.
References VisitValueDecl().
void ASTDeclReader::VisitBlockDecl | ( | BlockDecl * | BD | ) |
Definition at line 1752 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 2456 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitCapturedDecl | ( | CapturedDecl * | CD | ) |
Definition at line 1785 of file ASTReaderDecl.cpp.
References clang::CapturedDecl::setContextParam(), clang::CapturedDecl::setNothrow(), clang::CapturedDecl::setParam(), and VisitDecl().
void ASTDeclReader::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 2436 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 2548 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 2475 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 2375 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTemplateDecl().
void ASTDeclReader::VisitConstructorUsingShadowDecl | ( | ConstructorUsingShadowDecl * | D | ) |
Definition at line 1908 of file ASTReaderDecl.cpp.
References D, and VisitUsingShadowDecl().
void ASTDeclReader::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 2290 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 2318 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | GD | ) |
Definition at line 2264 of file ASTReaderDecl.cpp.
References D, and VisitFunctionDecl().
void ASTDeclReader::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 2304 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 2272 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 2182 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 561 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 2756 of file ASTReaderDecl.cpp.
Referenced by VisitHLSLBufferDecl().
void ASTDeclReader::VisitDecompositionDecl | ( | DecompositionDecl * | DD | ) |
Definition at line 1727 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2738 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 767 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 1805 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitFieldDecl | ( | FieldDecl * | FD | ) |
Definition at line 1512 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 1741 of file ASTReaderDecl.cpp.
References clang::FileScopeAsmDecl::setAsmString(), clang::FileScopeAsmDecl::setRParenLoc(), and VisitDecl().
void ASTDeclReader::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 2338 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitDecl().
void ASTDeclReader::VisitFriendTemplateDecl | ( | FriendTemplateDecl * | D | ) |
Definition at line 2353 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::Type::getContainedAutoType(), clang::ASTReader::getContext(), clang::NamedDecl::getDeclName(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::FunctionTemplateSpecializationInfo::getFunction(), clang::ASTContext::getLangOpts(), 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 2565 of file ASTReaderDecl.cpp.
References D, Loc, ReadSpecializations(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitHLSLBufferDecl | ( | HLSLBufferDecl * | D | ) |
Definition at line 1845 of file ASTReaderDecl.cpp.
References D, VisitDeclContext(), and VisitNamedDecl().
void ASTDeclReader::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 2381 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitImplicitParamDecl | ( | ImplicitParamDecl * | PD | ) |
Definition at line 1695 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2323 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | FD | ) |
Definition at line 1573 of file ASTReaderDecl.cpp.
References clang::for(), clang::ASTReader::getContext(), mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 1810 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 2742 of file ASTReaderDecl.cpp.
References clang::ASTContext::addDestruction(), D, clang::Decl::getASTContext(), mergeMergeable(), and VisitDecl().
void ASTDeclReader::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 1798 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitMSGuidDecl | ( | MSGuidDecl * | D | ) |
Definition at line 1538 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 1532 of file ASTReaderDecl.cpp.
References VisitDeclaratorDecl().
void ASTDeclReader::VisitNamedDecl | ( | NamedDecl * | ND | ) |
Definition at line 686 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 1854 of file ASTReaderDecl.cpp.
References D, mergeRedeclarable(), VisitNamedDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 1815 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 2682 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitDeclaratorDecl().
void ASTDeclReader::VisitObjCAtDefsFieldDecl | ( | ObjCAtDefsFieldDecl * | D | ) |
Definition at line 1413 of file ASTReaderDecl.cpp.
References VisitFieldDecl().
void ASTDeclReader::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
category.
Definition at line 1417 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 1482 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCCompatibleAliasDecl | ( | ObjCCompatibleAliasDecl * | D | ) |
Definition at line 1449 of file ASTReaderDecl.cpp.
References clang::ObjCCompatibleAliasDecl::setClassInterface(), and VisitNamedDecl().
void ASTDeclReader::VisitObjCContainerDecl | ( | ObjCContainerDecl * | D | ) |
Definition at line 1197 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 1477 of file ASTReaderDecl.cpp.
References D, and VisitObjCContainerDecl().
Referenced by VisitObjCCategoryImplDecl(), and VisitObjCImplementationDecl().
void ASTDeclReader::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 1487 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 1273 of file ASTReaderDecl.cpp.
References ID, clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), ReadObjCTypeParamList(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 1310 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 1142 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 1454 of file ASTReaderDecl.cpp.
References D, clang::DeclarationName::getObjCSelector(), clang::T, and VisitNamedDecl().
void ASTDeclReader::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 1500 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 1384 of file ASTReaderDecl.cpp.
References clang::ObjCProtocolDecl::getCanonicalDecl(), clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 1188 of file ASTReaderDecl.cpp.
References D, and VisitTypedefNameDecl().
void ASTDeclReader::VisitOMPAllocateDecl | ( | OMPAllocateDecl * | D | ) |
Definition at line 3026 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPCapturedExprDecl | ( | OMPCapturedExprDecl * | D | ) |
Definition at line 3060 of file ASTReaderDecl.cpp.
References D, and VisitVarDecl().
void ASTDeclReader::VisitOMPDeclareMapperDecl | ( | OMPDeclareMapperDecl * | D | ) |
Definition at line 3053 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitValueDecl().
void ASTDeclReader::VisitOMPDeclareReductionDecl | ( | OMPDeclareReductionDecl * | D | ) |
Definition at line 3036 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), clang::Init, clang::Decl::setLocation(), and VisitValueDecl().
void ASTDeclReader::VisitOMPRequiresDecl | ( | OMPRequiresDecl * | D | ) |
Definition at line 3031 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPThreadPrivateDecl | ( | OMPThreadPrivateDecl * | D | ) |
Definition at line 3021 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitParmVarDecl | ( | ParmVarDecl * | PD | ) |
Definition at line 1699 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 659 of file ASTReaderDecl.cpp.
References D, memcpy(), clang::Decl::setLocation(), and VisitDecl().
void ASTDeclReader::VisitPragmaDetectMismatchDecl | ( | PragmaDetectMismatchDecl * | D | ) |
Definition at line 668 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 821 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::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 2763 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 2406 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 2392 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2730 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
RedeclarableResult ASTDeclReader::VisitTagDecl | ( | TagDecl * | TD | ) |
Definition at line 730 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 2367 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
Referenced by VisitConceptDecl(), VisitRedeclarableTemplateDecl(), and VisitTemplateTemplateParmDecl().
void ASTDeclReader::VisitTemplateParamObjectDecl | ( | TemplateParamObjectDecl * | D | ) |
Definition at line 1562 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 2705 of file ASTReaderDecl.cpp.
References D, clang::Data, clang::ASTReader::getContext(), and VisitTemplateDecl().
void ASTDeclReader::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 2661 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitTypeDecl().
void ASTDeclReader::VisitTopLevelStmtDecl | ( | TopLevelStmtDecl * | D | ) |
Definition at line 1747 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | TU | ) |
Definition at line 682 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTypeAliasDecl | ( | TypeAliasDecl * | TD | ) |
Definition at line 721 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), clang::TypeAliasDecl::setDescribedAliasTemplate(), and VisitTypedefNameDecl().
void ASTDeclReader::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2725 of file ASTReaderDecl.cpp.
References D, mergeRedeclarableTemplate(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitTypeDecl | ( | TypeDecl * | TD | ) |
Definition at line 692 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 716 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), and VisitTypedefNameDecl().
RedeclarableResult ASTDeclReader::VisitTypedefNameDecl | ( | TypedefNameDecl * | TD | ) |
Definition at line 699 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 1551 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 1943 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 1934 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTypeDecl().
void ASTDeclReader::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 1925 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 1864 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 1916 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 1876 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingEnumDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 1887 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 1896 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 1586 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 2463 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 2646 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 2579 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().