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.
|
inlinestatic |
Definition at line 288 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getASTContext().
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::LifetimeExtendedTemporaryDecl::getExtendingDecl(), and clang::LifetimeExtendedTemporaryDecl::getManglingNumber().
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, and clang::T.
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::Redeclarable< decl_type >::isFirstDecl(), and clang::T.
void ASTDeclReader::mergeRedeclarableTemplate | ( | RedeclarableTemplateDecl * | D, |
RedeclarableResult & | Redecl | ||
) |
Definition at line 2882 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getCanonicalDecl().
void ASTDeclReader::ReadFunctionDefinition | ( | FunctionDecl * | FD | ) |
Definition at line 531 of file ASTReaderDecl.cpp.
References Loc, and clang::serialization::MK_MainFile.
ObjCTypeParamList * ASTDeclReader::ReadObjCTypeParamList | ( | ) |
Definition at line 1218 of file ASTReaderDecl.cpp.
References clang::ObjCTypeParamList::create().
void ASTDeclReader::ReadVarDeclInit | ( | VarDecl * | VD | ) |
Definition at line 1690 of file ASTReaderDecl.cpp.
References clang::VarDecl::ensureEvaluatedStmt(), clang::EvaluatedStmt::Evaluated, clang::EvaluatedStmt::HasConstantDestruction, clang::EvaluatedStmt::HasConstantInitialization, clang::APValue::needsCleanup(), clang::EvaluatedStmt::Value, and clang::EvaluatedStmt::WasEvaluated.
|
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::Decl::hasAttrs(), clang::isUnresolvedExceptionSpec(), clang::Decl::markUsed(), 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_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_MARKED_OPENMP_ALLOCATE, 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(), ID, and clang::declvisitor::Base< std::add_pointer, ImplClass, void >::Visit().
void ASTDeclReader::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2347 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitBindingDecl | ( | BindingDecl * | BD | ) |
Definition at line 1750 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitBlockDecl | ( | BlockDecl * | BD | ) |
Definition at line 1766 of file ASTReaderDecl.cpp.
References clang::ast_matchers::decl, clang::BlockDecl::setBlockMissingReturnType(), clang::BlockDecl::setBody(), clang::BlockDecl::setCanAvoidCopyToHeap(), clang::BlockDecl::setCaptures(), clang::BlockDecl::setDoesNotEscape(), clang::BlockDecl::setIsConversionFromLambda(), clang::BlockDecl::setIsVariadic(), clang::BlockDecl::setParams(), and clang::BlockDecl::setSignatureAsWritten().
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(), and clang::CapturedDecl::setParam().
void ASTDeclReader::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 2440 of file ASTReaderDecl.cpp.
References AddLazySpecializations(), and D.
void ASTDeclReader::VisitClassTemplatePartialSpecializationDecl | ( | ClassTemplatePartialSpecializationDecl * | D | ) |
Definition at line 2554 of file ASTReaderDecl.cpp.
References D.
|
inline |
Definition at line 368 of file ASTReaderDecl.cpp.
References D.
RedeclarableResult ASTDeclReader::VisitClassTemplateSpecializationDeclImpl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 2481 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, clang::TemplateArgumentList::CreateCopy(), D, clang::ExplicitInstantiationInfo::ExternKeywordLoc, and clang::Decl::isCanonicalDecl().
void ASTDeclReader::VisitConceptDecl | ( | ConceptDecl * | D | ) |
Definition at line 2389 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitConstructorUsingShadowDecl | ( | ConstructorUsingShadowDecl * | D | ) |
Definition at line 1922 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 2304 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 2332 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | GD | ) |
Definition at line 2278 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 2318 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getCanonicalDecl().
void ASTDeclReader::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 2286 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), and clang::Decl::isCanonicalDecl().
|
inline |
Definition at line 363 of file ASTReaderDecl.cpp.
References D.
RedeclarableResult ASTDeclReader::VisitCXXRecordDeclImpl | ( | CXXRecordDecl * | D | ) |
Definition at line 2196 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, D, clang::Decl::getCanonicalDecl(), clang::DeclIDBase::getRawValue(), clang::DeclIDBase::isValid(), and clang::MemberSpecializationInfo::setPointOfInstantiation().
void ASTDeclReader::VisitDecl | ( | Decl * | D | ) |
Definition at line 584 of file ASTReaderDecl.cpp.
References clang::Module::AllVisible, D, clang::Decl::FromASTFile, clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::DeclIDBase::isInvalid(), clang::Decl::isTemplateParameter(), clang::Decl::isTemplateParameterPack(), clang::DeclContext::lookup(), 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.
void ASTDeclReader::VisitDeclaratorDecl | ( | DeclaratorDecl * | DD | ) |
Definition at line 915 of file ASTReaderDecl.cpp.
References clang::QualType::isNull(), clang::DeclaratorDecl::setInnerLocStart(), and clang::DeclaratorDecl::setTypeSourceInfo().
std::pair< uint64_t, uint64_t > ASTDeclReader::VisitDeclContext | ( | DeclContext * | DC | ) |
Definition at line 2764 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitDecompositionDecl | ( | DecompositionDecl * | DD | ) |
Definition at line 1741 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2746 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitEnumConstantDecl | ( | EnumConstantDecl * | ECD | ) |
Definition at line 907 of file ASTReaderDecl.cpp.
References clang::EnumConstantDecl::setInitExpr(), and clang::EnumConstantDecl::setInitVal().
void ASTDeclReader::VisitEnumDecl | ( | EnumDecl * | ED | ) |
Definition at line 790 of file ASTReaderDecl.cpp.
References D, clang::TagDecl::demoteThisDefinitionToDeclaration(), clang::EnumDecl::getCanonicalDecl(), clang::EnumDecl::getMemberSpecializationInfo(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::EnumDecl::getODRHash(), clang::TagDecl::isCompleteDefinition(), clang::Decl::isFromASTFile(), merged_redecls(), clang::EnumDecl::setFixed(), clang::EnumDecl::setIntegerType(), clang::EnumDecl::setIntegerTypeSourceInfo(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::EnumDecl::setPromotionType(), clang::EnumDecl::setScoped(), clang::EnumDecl::setScopedUsingClassTag(), and clang::shouldSkipCheckingODR().
void ASTDeclReader::VisitExportDecl | ( | ExportDecl * | D | ) |
Definition at line 1819 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitFieldDecl | ( | FieldDecl * | FD | ) |
Definition at line 1527 of file ASTReaderDecl.cpp.
References clang::FieldDecl::CapturedVLAType, clang::NamedDecl::getDeclName(), and clang::FieldDecl::setBitWidth().
void ASTDeclReader::VisitFileScopeAsmDecl | ( | FileScopeAsmDecl * | AD | ) |
Definition at line 1755 of file ASTReaderDecl.cpp.
References clang::FileScopeAsmDecl::setAsmString(), and clang::FileScopeAsmDecl::setRParenLoc().
void ASTDeclReader::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 2352 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitFriendTemplateDecl | ( | FriendTemplateDecl * | D | ) |
Definition at line 2367 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitFunctionDecl | ( | FunctionDecl * | FD | ) |
Definition at line 930 of file ASTReaderDecl.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::Type::castAs(), clang::FunctionTemplateSpecializationInfo::Create(), clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(), clang::TemplateArgumentList::CreateCopy(), clang::Type::getContainedAutoType(), clang::NamedDecl::getDeclName(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::FunctionTemplateSpecializationInfo::getFunction(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::FunctionType::getReturnType(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::TypeSourceInfo::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), ID, clang::Decl::isCanonicalDecl(), clang::FunctionDecl::isDefaulted(), clang::FunctionDecl::isDeletedAsWritten(), clang::FunctionDecl::isExplicitlyDefaulted(), Kind, clang::DeclAccessPair::make(), 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, and clang::FunctionDecl::TK_NonTemplate.
void ASTDeclReader::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 2571 of file ASTReaderDecl.cpp.
References AddLazySpecializations(), and D.
void ASTDeclReader::VisitHLSLBufferDecl | ( | HLSLBufferDecl * | D | ) |
Definition at line 1859 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 2395 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitImplicitParamDecl | ( | ImplicitParamDecl * | PD | ) |
Definition at line 1709 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2337 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | FD | ) |
Definition at line 1587 of file ASTReaderDecl.cpp.
References clang::for().
void ASTDeclReader::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 1824 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 2750 of file ASTReaderDecl.cpp.
References clang::ASTContext::addDestruction(), D, and clang::Decl::getASTContext().
void ASTDeclReader::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 1812 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitMSGuidDecl | ( | MSGuidDecl * | D | ) |
Definition at line 1552 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, D, and clang::Decl::getCanonicalDecl().
void ASTDeclReader::VisitMSPropertyDecl | ( | MSPropertyDecl * | FD | ) |
Definition at line 1546 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitNamedDecl | ( | NamedDecl * | ND | ) |
Definition at line 709 of file ASTReaderDecl.cpp.
References clang::NamedDecl::setDeclName().
void ASTDeclReader::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 1868 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 1829 of file ASTReaderDecl.cpp.
References D, clang::BitsUnpacker::getNextBit(), and clang::DeclIDBase::isValid().
void ASTDeclReader::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 2690 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitObjCAtDefsFieldDecl | ( | ObjCAtDefsFieldDecl * | D | ) |
Definition at line 1428 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
category.
Definition at line 1432 of file ASTReaderDecl.cpp.
References clang::ObjCCategoryDecl::IsClassExtension(), clang::ObjCInterfaceDecl::mergeClassExtensionProtocolList(), clang::ObjCCategoryDecl::setCategoryNameLoc(), clang::ObjCCategoryDecl::setIvarLBraceLoc(), clang::ObjCCategoryDecl::setIvarRBraceLoc(), and clang::ObjCCategoryDecl::setProtocolList().
void ASTDeclReader::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 1497 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitObjCCompatibleAliasDecl | ( | ObjCCompatibleAliasDecl * | D | ) |
Definition at line 1464 of file ASTReaderDecl.cpp.
References clang::ObjCCompatibleAliasDecl::setClassInterface().
void ASTDeclReader::VisitObjCContainerDecl | ( | ObjCContainerDecl * | D | ) |
Definition at line 1212 of file ASTReaderDecl.cpp.
References clang::ObjCContainerDecl::setAtEndRange(), and clang::ObjCContainerDecl::setAtStartLoc().
void ASTDeclReader::VisitObjCImplDecl | ( | ObjCImplDecl * | D | ) |
Definition at line 1492 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 1502 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 1288 of file ASTReaderDecl.cpp.
References ID.
void ASTDeclReader::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 1325 of file ASTReaderDecl.cpp.
References 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(), and clang::ObjCIvarDecl::setSynthesize().
void ASTDeclReader::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 1157 of file ASTReaderDecl.cpp.
References 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::ObjCMethodDecl::setOverriding(), clang::ObjCMethodDecl::setPropertyAccessor(), clang::ObjCMethodDecl::setRelatedResultType(), clang::ObjCMethodDecl::setReturnType(), clang::ObjCMethodDecl::setReturnTypeSourceInfo(), clang::ObjCMethodDecl::setSelfDecl(), clang::ObjCMethodDecl::setSynthesizedAccessorStub(), and clang::ObjCMethodDecl::setVariadic().
void ASTDeclReader::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 1469 of file ASTReaderDecl.cpp.
References D, clang::DeclarationName::getObjCSelector(), and clang::T.
void ASTDeclReader::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 1515 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 1399 of file ASTReaderDecl.cpp.
References clang::ObjCProtocolDecl::getCanonicalDecl().
void ASTDeclReader::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 1203 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitOMPAllocateDecl | ( | OMPAllocateDecl * | D | ) |
Definition at line 3034 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitOMPCapturedExprDecl | ( | OMPCapturedExprDecl * | D | ) |
Definition at line 3068 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitOMPDeclareMapperDecl | ( | OMPDeclareMapperDecl * | D | ) |
Definition at line 3061 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitOMPDeclareReductionDecl | ( | OMPDeclareReductionDecl * | D | ) |
Definition at line 3044 of file ASTReaderDecl.cpp.
References D, and clang::Decl::setLocation().
void ASTDeclReader::VisitOMPRequiresDecl | ( | OMPRequiresDecl * | D | ) |
Definition at line 3039 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitOMPThreadPrivateDecl | ( | OMPThreadPrivateDecl * | D | ) |
Definition at line 3029 of file ASTReaderDecl.cpp.
References D.
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(), and clang::ParmVarDecl::setUninstantiatedDefaultArg().
void ASTDeclReader::VisitPragmaCommentDecl | ( | PragmaCommentDecl * | D | ) |
Definition at line 682 of file ASTReaderDecl.cpp.
References D, memcpy(), and clang::Decl::setLocation().
void ASTDeclReader::VisitPragmaDetectMismatchDecl | ( | PragmaDetectMismatchDecl * | D | ) |
Definition at line 691 of file ASTReaderDecl.cpp.
References D, and clang::Decl::setLocation().
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(), and merged_redecls().
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(), and clang::RecordDecl::setParamDestroyedInCallee().
RedeclarableResult ASTDeclReader::VisitRedeclarable | ( | Redeclarable< T > * | D | ) |
Definition at line 2771 of file ASTReaderDecl.cpp.
References D, clang::Decl::getCanonicalDecl(), clang::DeclIDBase::isInvalid(), clang::Redeclarable< decl_type >::PreviousDeclLink(), and clang::T.
RedeclarableResult ASTDeclReader::VisitRedeclarableTemplateDecl | ( | RedeclarableTemplateDecl * | D | ) |
Definition at line 2410 of file ASTReaderDecl.cpp.
References clang::RedeclarableTemplateDecl::Common, D, clang::Decl::getCanonicalDecl(), clang::Decl::getKind(), and clang::RedeclarableTemplateDecl::newCommon().
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.
RedeclarableResult ASTDeclReader::VisitTagDecl | ( | TagDecl * | TD | ) |
Definition at line 753 of file ASTReaderDecl.cpp.
References clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::TagDecl::setBraceRange(), clang::TagDecl::setCompleteDefinition(), clang::TagDecl::setCompleteDefinitionRequired(), clang::TagDecl::setEmbeddedInDeclarator(), clang::TagDecl::setFreeStanding(), and clang::TagDecl::setTagKind().
void ASTDeclReader::VisitTemplateDecl | ( | TemplateDecl * | D | ) |
Definition at line 2381 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitTemplateParamObjectDecl | ( | TemplateParamObjectDecl * | D | ) |
Definition at line 1576 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getCanonicalDecl().
void ASTDeclReader::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 2713 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 2669 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitTopLevelStmtDecl | ( | TopLevelStmtDecl * | D | ) |
Definition at line 1761 of file ASTReaderDecl.cpp.
References D.
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 clang::TypeAliasDecl::setDescribedAliasTemplate().
void ASTDeclReader::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2733 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitTypeDecl | ( | TypeDecl * | TD | ) |
Definition at line 715 of file ASTReaderDecl.cpp.
References clang::TypeDecl::setLocStart().
void ASTDeclReader::VisitTypedefDecl | ( | TypedefDecl * | TD | ) |
Definition at line 739 of file ASTReaderDecl.cpp.
RedeclarableResult ASTDeclReader::VisitTypedefNameDecl | ( | TypedefNameDecl * | TD | ) |
Definition at line 722 of file ASTReaderDecl.cpp.
References clang::TypedefNameDecl::setModedTypeSourceInfo(), and clang::TypedefNameDecl::setTypeSourceInfo().
void ASTDeclReader::VisitUnnamedGlobalConstantDecl | ( | UnnamedGlobalConstantDecl * | D | ) |
Definition at line 1565 of file ASTReaderDecl.cpp.
References D, and clang::Decl::getCanonicalDecl().
void ASTDeclReader::VisitUnresolvedUsingIfExistsDecl | ( | UnresolvedUsingIfExistsDecl * | D | ) |
Definition at line 1957 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 1948 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 1939 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 1878 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 1930 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 1890 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 1901 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 1910 of file ASTReaderDecl.cpp.
References D.
void ASTDeclReader::VisitValueDecl | ( | ValueDecl * | VD | ) |
Definition at line 896 of file ASTReaderDecl.cpp.
References clang::ValueDecl::setType().
|
inline |
Definition at line 402 of file ASTReaderDecl.cpp.
RedeclarableResult ASTDeclReader::VisitVarDeclImpl | ( | VarDecl * | D | ) |
Definition at line 1600 of file ASTReaderDecl.cpp.
References clang::Decl::getLexicalDeclContext(), clang::BitsUnpacker::getNextBit(), clang::BitsUnpacker::getNextBits(), clang::VarDecl::getStorageClass(), clang::Decl::hasAttr(), clang::DeclContext::isFunctionOrMethod(), Loc, clang::serialization::MK_MainFile, clang::None, clang::VarDecl::NonParmVarDeclBits, clang::SC_Extern, clang::Decl::setCachedLinkage(), clang::VarDecl::setDescribedVarTemplate(), clang::Decl::setLocalExternDecl(), clang::ValueDecl::setType(), and clang::VarDecl::VarDeclBits.
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(), and D.
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.
|
inline |
Definition at line 377 of file ASTReaderDecl.cpp.
References D.
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 AttributeLangSupport::C, clang::TemplateArgumentList::CreateCopy(), D, clang::ExplicitInstantiationInfo::ExternKeywordLoc, and clang::Decl::isCanonicalDecl().