clang 20.0.0git
|
Static Public Member Functions | |
template<typename T > | |
static void | AddLazySpecializations (T *D, SmallVectorImpl< GlobalDeclID > &IDs) |
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) |
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 281 of file ASTReaderDecl.cpp.
References Loc.
|
inlinestatic |
Definition at line 288 of file ASTReaderDecl.cpp.
References clang::C, D, clang::Decl::getASTContext(), and clang::Result.
Referenced by VisitClassTemplateDecl(), VisitFunctionTemplateDecl(), and VisitVarTemplateDecl().
Definition at line 3784 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3780 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3776 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3738 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 3560 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< FunctionDecl > * | D, | ||
Decl * | Previous, | ||
Decl * | Canon | ||
) |
Definition at line 3598 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 3570 of file ASTReaderDecl.cpp.
References D, clang::VarDecl::Definition, clang::Redeclarable< decl_type >::getPreviousDecl(), clang::ASTReader::mergeDefinitionVisibility(), and Previous.
|
static |
Definition at line 3653 of file ASTReaderDecl.cpp.
Definition at line 3521 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getKind().
|
static |
Definition at line 3517 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3513 of file ASTReaderDecl.cpp.
References D.
|
static |
Definition at line 3802 of file ASTReaderDecl.cpp.
|
static |
Definition at line 3798 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 2988 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 3010 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 2832 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 2882 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 531 of file ASTReaderDecl.cpp.
References clang::ASTReader::getContext(), and clang::ASTContext::getLangOpts().
Referenced by UpdateDecl(), and Visit().
ObjCTypeParamList * ASTDeclReader::ReadObjCTypeParamList | ( | ) |
Definition at line 1218 of file ASTReaderDecl.cpp.
References clang::ObjCTypeParamList::create(), and clang::ASTReader::getContext().
Referenced by VisitObjCCategoryDecl(), and VisitObjCInterfaceDecl().
void ASTDeclReader::ReadVarDeclInit | ( | VarDecl * | VD | ) |
Definition at line 1690 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 337 of file ASTReaderDecl.cpp.
void ASTDeclReader::UpdateDecl | ( | Decl * | D, |
llvm::SmallVectorImpl< GlobalDeclID > & | PendingLazySpecializationIDs | ||
) |
Definition at line 4531 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_TEMPLATE_SPECIALIZATION, 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 546 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 2347 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitBindingDecl | ( | BindingDecl * | BD | ) |
Definition at line 1750 of file ASTReaderDecl.cpp.
References VisitValueDecl().
void ASTDeclReader::VisitBlockDecl | ( | BlockDecl * | BD | ) |
Definition at line 1766 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 2461 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitCapturedDecl | ( | CapturedDecl * | CD | ) |
Definition at line 1799 of file ASTReaderDecl.cpp.
References clang::CapturedDecl::setContextParam(), clang::CapturedDecl::setNothrow(), clang::CapturedDecl::setParam(), and VisitDecl().
void ASTDeclReader::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 2440 of file ASTReaderDecl.cpp.
References AddLazySpecializations(), D, clang::ASTReader::getContext(), clang::ASTContext::getInjectedClassNameType(), mergeRedeclarableTemplate(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitClassTemplatePartialSpecializationDecl | ( | ClassTemplatePartialSpecializationDecl * | D | ) |
Definition at line 2554 of file ASTReaderDecl.cpp.
References D, and VisitClassTemplateSpecializationDeclImpl().
|
inline |
Definition at line 368 of file ASTReaderDecl.cpp.
References D, and VisitClassTemplateSpecializationDeclImpl().
RedeclarableResult ASTDeclReader::VisitClassTemplateSpecializationDeclImpl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 2481 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 2389 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTemplateDecl().
void ASTDeclReader::VisitConstructorUsingShadowDecl | ( | ConstructorUsingShadowDecl * | D | ) |
Definition at line 1922 of file ASTReaderDecl.cpp.
References D, and VisitUsingShadowDecl().
void ASTDeclReader::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 2304 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 2332 of file ASTReaderDecl.cpp.
References D, and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | GD | ) |
Definition at line 2278 of file ASTReaderDecl.cpp.
References D, and VisitFunctionDecl().
void ASTDeclReader::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 2318 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), and VisitCXXMethodDecl().
void ASTDeclReader::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 2286 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 363 of file ASTReaderDecl.cpp.
References D, and VisitCXXRecordDeclImpl().
RedeclarableResult ASTDeclReader::VisitCXXRecordDeclImpl | ( | CXXRecordDecl * | D | ) |
Definition at line 2196 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 584 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 915 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 2764 of file ASTReaderDecl.cpp.
Referenced by VisitHLSLBufferDecl().
void ASTDeclReader::VisitDecompositionDecl | ( | DecompositionDecl * | DD | ) |
Definition at line 1741 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2746 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitEnumConstantDecl | ( | EnumConstantDecl * | ECD | ) |
Definition at line 907 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 790 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 1819 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitFieldDecl | ( | FieldDecl * | FD | ) |
Definition at line 1527 of file ASTReaderDecl.cpp.
References clang::FieldDecl::CapturedVLAType, clang::ASTReader::getContext(), clang::NamedDecl::getDeclName(), mergeMergeable(), clang::FieldDecl::setBitWidth(), clang::ASTContext::setInstantiatedFromUnnamedFieldDecl(), and VisitDeclaratorDecl().
Referenced by VisitObjCAtDefsFieldDecl(), and VisitObjCIvarDecl().
void ASTDeclReader::VisitFileScopeAsmDecl | ( | FileScopeAsmDecl * | AD | ) |
Definition at line 1755 of file ASTReaderDecl.cpp.
References clang::FileScopeAsmDecl::setAsmString(), clang::FileScopeAsmDecl::setRParenLoc(), and VisitDecl().
void ASTDeclReader::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 2352 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitDecl().
void ASTDeclReader::VisitFriendTemplateDecl | ( | FriendTemplateDecl * | D | ) |
Definition at line 2367 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitDecl().
void ASTDeclReader::VisitFunctionDecl | ( | FunctionDecl * | FD | ) |
Definition at line 930 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::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 2571 of file ASTReaderDecl.cpp.
References AddLazySpecializations(), D, and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitHLSLBufferDecl | ( | HLSLBufferDecl * | D | ) |
Definition at line 1859 of file ASTReaderDecl.cpp.
References D, VisitDeclContext(), and VisitNamedDecl().
void ASTDeclReader::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 2395 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitImplicitParamDecl | ( | ImplicitParamDecl * | PD | ) |
Definition at line 1709 of file ASTReaderDecl.cpp.
References VisitVarDecl().
void ASTDeclReader::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2337 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | FD | ) |
Definition at line 1587 of file ASTReaderDecl.cpp.
References clang::for(), clang::ASTReader::getContext(), mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 1824 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 2750 of file ASTReaderDecl.cpp.
References clang::ASTContext::addDestruction(), D, clang::Decl::getASTContext(), mergeMergeable(), and VisitDecl().
void ASTDeclReader::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 1812 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitMSGuidDecl | ( | MSGuidDecl * | D | ) |
Definition at line 1552 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 1546 of file ASTReaderDecl.cpp.
References VisitDeclaratorDecl().
void ASTDeclReader::VisitNamedDecl | ( | NamedDecl * | ND | ) |
Definition at line 709 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 1868 of file ASTReaderDecl.cpp.
References D, mergeRedeclarable(), VisitNamedDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 1829 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 2690 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitDeclaratorDecl().
void ASTDeclReader::VisitObjCAtDefsFieldDecl | ( | ObjCAtDefsFieldDecl * | D | ) |
Definition at line 1428 of file ASTReaderDecl.cpp.
References VisitFieldDecl().
void ASTDeclReader::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
category.
Definition at line 1432 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 1497 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCCompatibleAliasDecl | ( | ObjCCompatibleAliasDecl * | D | ) |
Definition at line 1464 of file ASTReaderDecl.cpp.
References clang::ObjCCompatibleAliasDecl::setClassInterface(), and VisitNamedDecl().
void ASTDeclReader::VisitObjCContainerDecl | ( | ObjCContainerDecl * | D | ) |
Definition at line 1212 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 1492 of file ASTReaderDecl.cpp.
References D, and VisitObjCContainerDecl().
Referenced by VisitObjCCategoryImplDecl(), and VisitObjCImplementationDecl().
void ASTDeclReader::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 1502 of file ASTReaderDecl.cpp.
References D, and VisitObjCImplDecl().
void ASTDeclReader::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 1288 of file ASTReaderDecl.cpp.
References ID, clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), ReadObjCTypeParamList(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 1325 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 1157 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 1469 of file ASTReaderDecl.cpp.
References D, clang::DeclarationName::getObjCSelector(), clang::T, and VisitNamedDecl().
void ASTDeclReader::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 1515 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 1399 of file ASTReaderDecl.cpp.
References clang::ObjCProtocolDecl::getCanonicalDecl(), clang::ASTDeclMerger::MergeDefinitionData(), mergeRedeclarable(), VisitObjCContainerDecl(), and VisitRedeclarable().
void ASTDeclReader::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 1203 of file ASTReaderDecl.cpp.
References D, and VisitTypedefNameDecl().
void ASTDeclReader::VisitOMPAllocateDecl | ( | OMPAllocateDecl * | D | ) |
Definition at line 3034 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPCapturedExprDecl | ( | OMPCapturedExprDecl * | D | ) |
Definition at line 3068 of file ASTReaderDecl.cpp.
References D, and VisitVarDecl().
void ASTDeclReader::VisitOMPDeclareMapperDecl | ( | OMPDeclareMapperDecl * | D | ) |
Definition at line 3061 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), and VisitValueDecl().
void ASTDeclReader::VisitOMPDeclareReductionDecl | ( | OMPDeclareReductionDecl * | D | ) |
Definition at line 3044 of file ASTReaderDecl.cpp.
References D, clang::DeclIDBase::getRawValue(), clang::Init, clang::Decl::setLocation(), and VisitValueDecl().
void ASTDeclReader::VisitOMPRequiresDecl | ( | OMPRequiresDecl * | D | ) |
Definition at line 3039 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitOMPThreadPrivateDecl | ( | OMPThreadPrivateDecl * | D | ) |
Definition at line 3029 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitParmVarDecl | ( | ParmVarDecl * | PD | ) |
Definition at line 1713 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 682 of file ASTReaderDecl.cpp.
References D, memcpy(), clang::Decl::setLocation(), and VisitDecl().
void ASTDeclReader::VisitPragmaDetectMismatchDecl | ( | PragmaDetectMismatchDecl * | D | ) |
Definition at line 691 of file ASTReaderDecl.cpp.
References D, memcpy(), clang::Decl::setLocation(), and VisitDecl().
void ASTDeclReader::VisitRecordDecl | ( | RecordDecl * | RD | ) |
Definition at line 865 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 844 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 2771 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 2410 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 2406 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2738 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
RedeclarableResult ASTDeclReader::VisitTagDecl | ( | TagDecl * | TD | ) |
Definition at line 753 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 2381 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
Referenced by VisitConceptDecl(), VisitRedeclarableTemplateDecl(), and VisitTemplateTemplateParmDecl().
void ASTDeclReader::VisitTemplateParamObjectDecl | ( | TemplateParamObjectDecl * | D | ) |
Definition at line 1576 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 2713 of file ASTReaderDecl.cpp.
References D, clang::Data, clang::ASTReader::getContext(), and VisitTemplateDecl().
void ASTDeclReader::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 2669 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), and VisitTypeDecl().
void ASTDeclReader::VisitTopLevelStmtDecl | ( | TopLevelStmtDecl * | D | ) |
Definition at line 1761 of file ASTReaderDecl.cpp.
References D, and VisitDecl().
void ASTDeclReader::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | TU | ) |
Definition at line 705 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTypeAliasDecl | ( | TypeAliasDecl * | TD | ) |
Definition at line 744 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), clang::TypeAliasDecl::setDescribedAliasTemplate(), and VisitTypedefNameDecl().
void ASTDeclReader::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2733 of file ASTReaderDecl.cpp.
References D, mergeRedeclarableTemplate(), and VisitRedeclarableTemplateDecl().
void ASTDeclReader::VisitTypeDecl | ( | TypeDecl * | TD | ) |
Definition at line 715 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 739 of file ASTReaderDecl.cpp.
References mergeRedeclarable(), and VisitTypedefNameDecl().
RedeclarableResult ASTDeclReader::VisitTypedefNameDecl | ( | TypedefNameDecl * | TD | ) |
Definition at line 722 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 1565 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 1957 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 1948 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitTypeDecl().
void ASTDeclReader::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 1939 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitValueDecl().
void ASTDeclReader::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 1878 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 1930 of file ASTReaderDecl.cpp.
References D, and VisitNamedDecl().
void ASTDeclReader::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 1890 of file ASTReaderDecl.cpp.
References D, clang::ASTReader::getContext(), mergeMergeable(), clang::ASTContext::setInstantiatedFromUsingEnumDecl(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 1901 of file ASTReaderDecl.cpp.
References D, mergeMergeable(), and VisitNamedDecl().
void ASTDeclReader::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 1910 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 896 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 402 of file ASTReaderDecl.cpp.
References VisitVarDeclImpl().
Referenced by VisitDecompositionDecl(), VisitImplicitParamDecl(), VisitOMPCapturedExprDecl(), and VisitParmVarDecl().
RedeclarableResult ASTDeclReader::VisitVarDeclImpl | ( | VarDecl * | D | ) |
Definition at line 1600 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 2468 of file ASTReaderDecl.cpp.
References AddLazySpecializations(), D, mergeRedeclarableTemplate(), 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 2654 of file ASTReaderDecl.cpp.
References D, and VisitVarTemplateSpecializationDeclImpl().
|
inline |
Definition at line 377 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 2587 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().