clang API Documentation
Definition at line 37 of file ASTReaderDecl.cpp.
clang::ASTDeclReader::ASTDeclReader | ( | ASTReader & | Reader, |
ModuleFile & | F, | ||
DeclID | thisDeclID, | ||
unsigned | RawLocation, | ||
const RecordData & | Record, | ||
unsigned & | Idx | ||
) | [inline] |
Definition at line 211 of file ASTReaderDecl.cpp.
void ASTDeclReader::attachLatestDecl | ( | Decl * | D, |
Decl * | latest | ||
) | [static] |
Definition at line 2830 of file ASTReaderDecl.cpp.
References clang::Decl::getKind().
void ASTDeclReader::attachLatestDeclImpl | ( | Redeclarable< DeclT > * | D, |
Decl * | Latest | ||
) | [static] |
Definition at line 2823 of file ASTReaderDecl.cpp.
References clang::Redeclarable< decl_type >::RedeclLink.
void ASTDeclReader::attachLatestDeclImpl | ( | ... | ) | [static] |
Definition at line 2826 of file ASTReaderDecl.cpp.
void ASTDeclReader::attachPreviousDecl | ( | ASTReader & | Reader, |
Decl * | D, | ||
Decl * | Previous | ||
) | [static] |
Definition at line 2794 of file ASTReaderDecl.cpp.
References clang::Decl::getKind(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, and clang::Decl::IDNS_Type.
void ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< DeclT > * | D, | ||
Decl * | Previous | ||
) | [static] |
Definition at line 2741 of file ASTReaderDecl.cpp.
References clang::Redeclarable< decl_type >::RedeclLink.
void ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
... | |||
) | [static] |
Definition at line 2790 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::attachPreviousDeclImpl | ( | ASTReader & | Reader, |
Redeclarable< FunctionDecl > * | D, | ||
Decl * | Previous | ||
) |
Definition at line 2748 of file ASTReaderDecl.cpp.
References clang::ASTContext::adjustExceptionSpec(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::Type::getAs(), clang::FunctionProtoType::getExceptionSpecType(), clang::FunctionProtoType::getExtProtoInfo(), clang::ValueDecl::getType(), clang::isUnresolvedExceptionSpec(), Previous, and clang::Redeclarable< decl_type >::RedeclLink.
bool clang::ASTDeclReader::hasPendingBody | ( | ) | const [inline] |
Determine whether this declaration has a pending body.
Definition at line 234 of file ASTReaderDecl.cpp.
void ASTDeclReader::markIncompleteDeclChainImpl | ( | Redeclarable< DeclT > * | D | ) | [static] |
Definition at line 2844 of file ASTReaderDecl.cpp.
References clang::Redeclarable< decl_type >::RedeclLink.
void ASTDeclReader::markIncompleteDeclChainImpl | ( | ... | ) | [static] |
Definition at line 2847 of file ASTReaderDecl.cpp.
void ASTDeclReader::mergeMergeable | ( | Mergeable< T > * | D | ) |
Attempts to merge the given declaration (D) with another declaration of the same entity, for the case where the entity is not actually redeclarable. This happens, for instance, when merging the fields of identical class definitions from two different modules.
Definition at line 2201 of file ASTReaderDecl.cpp.
void ASTDeclReader::mergeRedeclarable | ( | Redeclarable< T > * | D, |
RedeclarableResult & | Redecl, | ||
DeclID | TemplatePatternID = 0 |
||
) |
Attempts to merge the given declaration (D) with another declaration of the same entity.
Definition at line 2082 of file ASTReaderDecl.cpp.
References clang::CXXRecordDecl::getCanonicalDecl(), and clang::serialization::NUM_PREDEF_DECL_IDS.
void ASTDeclReader::mergeRedeclarable | ( | Redeclarable< T > * | D, |
T * | Existing, | ||
RedeclarableResult & | Redecl, | ||
DeclID | TemplatePatternID = 0 |
||
) |
Attempts to merge the given declaration (D) with another declaration of the same entity.
Definition at line 2159 of file ASTReaderDecl.cpp.
References clang::CXXRecordDecl::getCanonicalDecl(), and clang::Redeclarable< decl_type >::RedeclLink.
void ASTDeclReader::mergeTemplatePattern | ( | RedeclarableTemplateDecl * | D, |
RedeclarableTemplateDecl * | Existing, | ||
DeclID | DsID | ||
) |
Merge together the pattern declarations from two template declarations.
Definition at line 2117 of file ASTReaderDecl.cpp.
References clang::TemplateDecl::getTemplatedDecl().
static void clang::ASTDeclReader::setNextObjCCategory | ( | ObjCCategoryDecl * | Cat, |
ObjCCategoryDecl * | Next | ||
) | [inline, static] |
Definition at line 241 of file ASTReaderDecl.cpp.
void ASTDeclReader::UpdateDecl | ( | Decl * | D, |
ModuleFile & | ModuleFile, | ||
const RecordData & | Record | ||
) |
Definition at line 3511 of file ASTReaderDecl.cpp.
References clang::Decl::addAttr(), clang::ASTContext::adjustDeducedFunctionResultType(), clang::TemplateArgumentList::CreateCopy(), forAllLaterRedecls(), clang::ASTReader::getContext(), clang::ASTContext::getFunctionType(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplateOrPartial(), clang::isUnresolvedExceptionSpec(), merged_redecls(), clang::serialization::MK_ExplicitModule, clang::serialization::MK_ImplicitModule, clang::ASTReader::ReadAttributes(), clang::ASTReader::ReadCXXCtorInitializers(), clang::ASTReader::ReadDecl(), clang::ASTReader::ReadDeclAs(), clang::ASTReader::ReadSourceLocation(), clang::ASTReader::ReadTemplateArgumentList(), clang::ASTReader::readType(), Record, clang::NamespaceDecl::setAnonymousNamespace(), clang::FunctionDecl::setImplicitlyInline(), clang::DeclaratorDecl::setInnerLocStart(), clang::ClassTemplateSpecializationDecl::setInstantiationOf(), clang::ASTContext::setManglingNumber(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::ASTContext::setStaticLocalNumber(), clang::CXXRecordDecl::setTemplateSpecializationKind(), clang::serialization::UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, clang::serialization::UPD_CXX_ADDED_FUNCTION_DEFINITION, clang::serialization::UPD_CXX_ADDED_IMPLICIT_MEMBER, clang::serialization::UPD_CXX_ADDED_TEMPLATE_SPECIALIZATION, clang::serialization::UPD_CXX_DEDUCED_RETURN_TYPE, clang::serialization::UPD_CXX_INSTANTIATED_CLASS_DEFINITION, clang::serialization::UPD_CXX_INSTANTIATED_STATIC_DATA_MEMBER, clang::serialization::UPD_CXX_RESOLVED_EXCEPTION_SPEC, 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 362 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 1607 of file ASTReaderDecl.cpp.
References clang::AccessSpecDecl::setColonLoc().
void ASTDeclReader::VisitBlockDecl | ( | BlockDecl * | BD | ) |
Definition at line 1127 of file ASTReaderDecl.cpp.
References clang::ast_matchers::decl, Record, clang::BlockDecl::setBlockMissingReturnType(), clang::BlockDecl::setBody(), clang::BlockDecl::setCaptures(), clang::BlockDecl::setIsConversionFromLambda(), clang::BlockDecl::setIsVariadic(), clang::BlockDecl::setParams(), and clang::BlockDecl::setSignatureAsWritten().
void ASTDeclReader::VisitCapturedDecl | ( | CapturedDecl * | CD | ) |
Definition at line 1159 of file ASTReaderDecl.cpp.
References Record, clang::CapturedDecl::setContextParam(), clang::CapturedDecl::setNothrow(), and clang::CapturedDecl::setParam().
void ASTDeclReader::VisitClassScopeFunctionSpecializationDecl | ( | ClassScopeFunctionSpecializationDecl * | D | ) |
Definition at line 1868 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitClassTemplatePartialSpecializationDecl | ( | ClassTemplatePartialSpecializationDecl * | D | ) |
Definition at line 1853 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) | [inline] |
Definition at line 266 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitClassTemplateSpecializationDeclImpl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 1773 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, clang::TemplateArgumentList::CreateCopy(), clang::ClassTemplateDecl::getCommonPtr(), clang::Decl::isCanonicalDecl(), clang::ClassTemplateDecl::Common::PartialSpecializations, Record, and clang::ClassTemplateDecl::Common::Specializations.
Definition at line 1575 of file ASTReaderDecl.cpp.
References clang::CXXConstructorDecl::setInheritedConstructor().
Definition at line 1592 of file ASTReaderDecl.cpp.
Definition at line 1586 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 1557 of file ASTReaderDecl.cpp.
References clang::CXXMethodDecl::getCanonicalDecl(), and clang::Decl::isCanonicalDecl().
void clang::ASTDeclReader::VisitCXXRecordDecl | ( | CXXRecordDecl * | D | ) | [inline] |
Definition at line 263 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitCXXRecordDeclImpl | ( | CXXRecordDecl * | D | ) |
Definition at line 1495 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, clang::CXXRecordDecl::getCanonicalDecl(), clang::ClassTemplateDecl::getTemplatedDecl(), Record, and clang::MemberSpecializationInfo::setPointOfInstantiation().
void ASTDeclReader::VisitDecl | ( | Decl * | D | ) |
Definition at line 402 of file ASTReaderDecl.cpp.
References clang::Module::AllVisible, clang::Decl::FromASTFile, clang::Decl::Hidden, clang::Decl::isModulePrivate(), clang::Decl::isTemplateParameter(), clang::Decl::isTemplateParameterPack(), clang::DeclContext::lookup(), Record, clang::Decl::setAccess(), clang::Decl::setDeclContext(), clang::Decl::setImplicit(), clang::Decl::setInvalidDecl(), clang::Decl::setLocation(), clang::Decl::setModulePrivate(), clang::Decl::setOwningModuleID(), clang::Decl::setReferenced(), and clang::Decl::setTopLevelDeclInObjCContainer().
void ASTDeclReader::VisitDeclaratorDecl | ( | DeclaratorDecl * | DD | ) |
Definition at line 606 of file ASTReaderDecl.cpp.
References Record, and clang::DeclaratorDecl::setInnerLocStart().
std::pair< uint64_t, uint64_t > ASTDeclReader::VisitDeclContext | ( | DeclContext * | DC | ) |
Definition at line 2045 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2040 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitEnumConstantDecl | ( | EnumConstantDecl * | ECD | ) |
Definition at line 598 of file ASTReaderDecl.cpp.
References Record, clang::EnumConstantDecl::setInitExpr(), and clang::EnumConstantDecl::setInitVal().
void ASTDeclReader::VisitEnumDecl | ( | EnumDecl * | ED | ) |
Definition at line 549 of file ASTReaderDecl.cpp.
References clang::EnumDecl::getCanonicalDecl(), clang::EnumDecl::getMemberSpecializationInfo(), clang::TagDecl::IsFixed, clang::TagDecl::IsScoped, clang::TagDecl::IsScopedUsingClassTag, Record, clang::EnumDecl::setIntegerType(), clang::EnumDecl::setIntegerTypeSourceInfo(), clang::EnumDecl::setNumNegativeBits(), clang::EnumDecl::setNumPositiveBits(), clang::MemberSpecializationInfo::setPointOfInstantiation(), and clang::EnumDecl::setPromotionType().
void ASTDeclReader::VisitFieldDecl | ( | FieldDecl * | FD | ) |
Definition at line 999 of file ASTReaderDecl.cpp.
References clang::NamedDecl::getDeclName(), and Record.
void ASTDeclReader::VisitFileScopeAsmDecl | ( | FileScopeAsmDecl * | AD | ) |
Definition at line 1121 of file ASTReaderDecl.cpp.
References Record, clang::FileScopeAsmDecl::setAsmString(), and clang::FileScopeAsmDecl::setRParenLoc().
void ASTDeclReader::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 1612 of file ASTReaderDecl.cpp.
References Record.
Definition at line 1625 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitFunctionDecl | ( | FunctionDecl * | FD | ) |
Definition at line 617 of file ASTReaderDecl.cpp.
References clang::TemplateArgumentListInfo::addArgument(), clang::UnresolvedSetImpl::addDecl(), AttributeLangSupport::C, clang::FunctionTemplateSpecializationInfo::Create(), clang::TemplateArgumentList::CreateCopy(), clang::FunctionTemplateDecl::getCommonPtr(), clang::NamedDecl::getDeclName(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::Decl::isCanonicalDecl(), clang::FunctionTemplateSpecializationInfo::Profile(), Record, clang::Decl::setCachedLinkage(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::FunctionDecl::setDescribedFunctionTemplate(), clang::TemplateArgumentListInfo::setLAngleLoc(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::TemplateArgumentListInfo::setRAngleLoc(), clang::FunctionTemplateDecl::Common::Specializations, clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.
Definition at line 1874 of file ASTReaderDecl.cpp.
References clang::FunctionTemplateDecl::getCommonPtr(), and clang::FunctionTemplateDecl::Common::LazySpecializations.
void ASTDeclReader::VisitImplicitParamDecl | ( | ImplicitParamDecl * | PD | ) |
Definition at line 1095 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 1597 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | FD | ) |
Definition at line 1026 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitLabelDecl | ( | LabelDecl * | LD | ) |
Definition at line 1179 of file ASTReaderDecl.cpp.
References Record, and clang::LabelDecl::setLocStart().
void ASTDeclReader::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 1172 of file ASTReaderDecl.cpp.
References Record, clang::LinkageSpecDecl::setExternLoc(), clang::LinkageSpecDecl::setLanguage(), and clang::LinkageSpecDecl::setRBraceLoc().
void ASTDeclReader::VisitMSPropertyDecl | ( | MSPropertyDecl * | FD | ) |
Definition at line 1020 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitNamedDecl | ( | NamedDecl * | ND | ) |
Definition at line 470 of file ASTReaderDecl.cpp.
References clang::serialization::needsAnonymousDeclarationNumber(), Record, and clang::NamedDecl::setDeclName().
Definition at line 1208 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 1987 of file ASTReaderDecl.cpp.
References clang::NonTypeTemplateParmDecl::getNumExpansionTypes(), clang::NonTypeTemplateParmDecl::isExpandedParameterPack(), clang::NonTypeTemplateParmDecl::setDefaultArgument(), clang::TemplateParmPosition::setDepth(), and clang::TemplateParmPosition::setPosition().
Definition at line 911 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
category.
Definition at line 915 of file ASTReaderDecl.cpp.
References Record, clang::ObjCCategoryDecl::setCategoryNameLoc(), clang::ObjCCategoryDecl::setIvarLBraceLoc(), clang::ObjCCategoryDecl::setIvarRBraceLoc(), and clang::ObjCCategoryDecl::setProtocolList().
Definition at line 970 of file ASTReaderDecl.cpp.
References Record, and clang::ObjCCategoryImplDecl::setIdentifier().
Definition at line 940 of file ASTReaderDecl.cpp.
References Record, and clang::ObjCCompatibleAliasDecl::setClassInterface().
Definition at line 806 of file ASTReaderDecl.cpp.
References Record, clang::ObjCContainerDecl::setAtEndRange(), and clang::ObjCContainerDecl::setAtStartLoc().
void ASTDeclReader::VisitObjCImplDecl | ( | ObjCImplDecl * | D | ) |
Definition at line 965 of file ASTReaderDecl.cpp.
References Record, and clang::ObjCImplDecl::setClassInterface().
Definition at line 976 of file ASTReaderDecl.cpp.
References Record, clang::ObjCImplementationDecl::setHasDestructors(), clang::ObjCImplementationDecl::setHasNonZeroConstructors(), clang::ObjCImplementationDecl::setIvarLBraceLoc(), clang::ObjCImplementationDecl::setIvarRBraceLoc(), and clang::ObjCImplementationDecl::setSuperClass().
Definition at line 812 of file ASTReaderDecl.cpp.
References clang::ObjCInterfaceDecl::getCanonicalDecl(), Record, clang::ObjCInterfaceDecl::setIvarList(), and clang::ObjCInterfaceDecl::setProtocolList().
void ASTDeclReader::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 870 of file ASTReaderDecl.cpp.
References Record, clang::ObjCIvarDecl::setAccessControl(), clang::ObjCIvarDecl::setNextIvar(), and clang::ObjCIvarDecl::setSynthesize().
void ASTDeclReader::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 761 of file ASTReaderDecl.cpp.
References Record, clang::ObjCMethodDecl::setCmdDecl(), clang::ObjCMethodDecl::setDeclImplementation(), clang::ObjCMethodDecl::setDefined(), clang::ObjCMethodDecl::setInstanceMethod(), clang::ObjCMethodDecl::setObjCDeclQualifier(), clang::ObjCMethodDecl::setPropertyAccessor(), clang::ObjCMethodDecl::SetRelatedResultType(), clang::ObjCMethodDecl::setReturnType(), clang::ObjCMethodDecl::setReturnTypeSourceInfo(), clang::ObjCMethodDecl::setSelfDecl(), and clang::ObjCMethodDecl::setVariadic().
void ASTDeclReader::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 945 of file ASTReaderDecl.cpp.
References Record, clang::ObjCPropertyDecl::setAtLoc(), clang::ObjCPropertyDecl::setGetterMethodDecl(), clang::ObjCPropertyDecl::setGetterName(), clang::ObjCPropertyDecl::setLParenLoc(), clang::ObjCPropertyDecl::setPropertyAttributes(), clang::ObjCPropertyDecl::setPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::setPropertyImplementation(), clang::ObjCPropertyDecl::setPropertyIvarDecl(), clang::ObjCPropertyDecl::setSetterMethodDecl(), clang::ObjCPropertyDecl::setSetterName(), and clang::ObjCPropertyDecl::setType().
void ASTDeclReader::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 879 of file ASTReaderDecl.cpp.
References clang::ObjCProtocolDecl::getCanonicalDecl(), Record, and clang::ObjCProtocolDecl::setProtocolList().
Definition at line 2218 of file ASTReaderDecl.cpp.
References clang::OMPThreadPrivateDecl::varlist_size().
void ASTDeclReader::VisitParmVarDecl | ( | ParmVarDecl * | PD | ) |
Definition at line 1099 of file ASTReaderDecl.cpp.
References clang::VarDecl::ParmVarDeclBits, Record, clang::ParmVarDecl::setObjCMethodScopeInfo(), clang::ParmVarDecl::setScopeInfo(), and clang::ParmVarDecl::setUninstantiatedDefaultArg().
void clang::ASTDeclReader::VisitRecordDecl | ( | RecordDecl * | RD | ) | [inline] |
Definition at line 261 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRecordDeclImpl | ( | RecordDecl * | RD | ) |
Definition at line 584 of file ASTReaderDecl.cpp.
References Record, clang::RecordDecl::setAnonymousStructOrUnion(), clang::RecordDecl::setHasFlexibleArrayMember(), clang::RecordDecl::setHasObjectMember(), and clang::RecordDecl::setHasVolatileMember().
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRedeclarable | ( | Redeclarable< T > * | D | ) |
Definition at line 2053 of file ASTReaderDecl.cpp.
References getKind(), and clang::Redeclarable< decl_type >::RedeclLink.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitRedeclarableTemplateDecl | ( | RedeclarableTemplateDecl * | D | ) |
Definition at line 1655 of file ASTReaderDecl.cpp.
References clang::RedeclarableTemplateDecl::Common, clang::RedeclarableTemplateDecl::getCanonicalDecl(), clang::Decl::getKind(), clang::RedeclarableTemplateDecl::newCommon(), clang::RedeclarableTemplateDecl::setInstantiatedFromMemberTemplate(), and clang::RedeclarableTemplateDecl::setMemberSpecialization().
void ASTDeclReader::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2032 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitTagDecl | ( | TagDecl * | TD | ) |
Definition at line 511 of file ASTReaderDecl.cpp.
References Record, clang::TagDecl::setCompleteDefinition(), clang::TagDecl::setCompleteDefinitionRequired(), clang::TagDecl::setEmbeddedInDeclarator(), clang::TagDecl::setFreeStanding(), clang::TagDecl::setRBraceLoc(), and clang::TagDecl::setTagKind().
DeclID ASTDeclReader::VisitTemplateDecl | ( | TemplateDecl * | D | ) |
Definition at line 1639 of file ASTReaderDecl.cpp.
References clang::TemplateDecl::init().
Definition at line 2009 of file ASTReaderDecl.cpp.
References clang::TemplateTemplateParmDecl::getNumExpansionTemplateParameters(), clang::TemplateTemplateParmDecl::isExpandedParameterPack(), clang::TemplateTemplateParmDecl::setDefaultArgument(), clang::TemplateParmPosition::setDepth(), and clang::TemplateParmPosition::setPosition().
Definition at line 1977 of file ASTReaderDecl.cpp.
References clang::TemplateTypeParmDecl::setDeclaredWithTypename(), and clang::TemplateTypeParmDecl::setDefaultArgument().
Definition at line 466 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTypeAliasDecl | ( | TypeAliasDecl * | TD | ) |
Definition at line 502 of file ASTReaderDecl.cpp.
References Record, and clang::TypeAliasDecl::setDescribedAliasTemplate().
Definition at line 2028 of file ASTReaderDecl.cpp.
void ASTDeclReader::VisitTypeDecl | ( | TypeDecl * | TD | ) |
Definition at line 477 of file ASTReaderDecl.cpp.
References Record, and clang::TypeDecl::setLocStart().
void ASTDeclReader::VisitTypedefDecl | ( | TypedefDecl * | TD | ) |
Definition at line 497 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitTypedefNameDecl | ( | TypedefNameDecl * | TD | ) |
Definition at line 485 of file ASTReaderDecl.cpp.
References Record, clang::TypedefNameDecl::setModedTypeSourceInfo(), and clang::TypedefNameDecl::setTypeSourceInfo().
Definition at line 1258 of file ASTReaderDecl.cpp.
References Record.
Definition at line 1250 of file ASTReaderDecl.cpp.
References clang::NamedDecl::getDeclName(), Record, and clang::UnresolvedUsingValueDecl::setUsingLoc().
void ASTDeclReader::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 1218 of file ASTReaderDecl.cpp.
References clang::NamedDecl::getDeclName(), Record, clang::UsingDecl::setTypename(), and clang::UsingDecl::setUsingLoc().
Definition at line 1241 of file ASTReaderDecl.cpp.
References Record.
void ASTDeclReader::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 1230 of file ASTReaderDecl.cpp.
References Record, and clang::UsingShadowDecl::setTargetDecl().
void ASTDeclReader::VisitValueDecl | ( | ValueDecl * | VD | ) |
Definition at line 593 of file ASTReaderDecl.cpp.
References Record, and clang::ValueDecl::setType().
void clang::ASTDeclReader::VisitVarDecl | ( | VarDecl * | VD | ) | [inline] |
Definition at line 295 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitVarDeclImpl | ( | VarDecl * | D | ) |
Definition at line 1037 of file ASTReaderDecl.cpp.
References clang::EvaluatedStmt::CheckedICE, clang::VarDecl::ensureEvaluatedStmt(), clang::Decl::getKind(), clang::Decl::getLexicalDeclContext(), clang::VarDecl::getStorageClass(), clang::DeclContext::isFunctionOrMethod(), clang::EvaluatedStmt::IsICE, clang::NoLinkage, Record, clang::SC_Extern, clang::Decl::setCachedLinkage(), clang::VarDecl::setDescribedVarTemplate(), clang::VarDecl::setInit(), clang::Decl::setLocalExternDecl(), 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 1738 of file ASTReaderDecl.cpp.
References clang::VarTemplateDecl::getCommonPtr(), and clang::VarTemplateDecl::Common::LazySpecializations.
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 1962 of file ASTReaderDecl.cpp.
void clang::ASTDeclReader::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) | [inline] |
Definition at line 276 of file ASTReaderDecl.cpp.
ASTDeclReader::RedeclarableResult ASTDeclReader::VisitVarTemplateSpecializationDeclImpl | ( | VarTemplateSpecializationDecl * | D | ) |
TODO: Unify with ClassTemplateSpecializationDecl version? May require unifying ClassTemplate(Partial)SpecializationDecl and VarTemplate(Partial)SpecializationDecl with a new data structure Template(Partial)SpecializationDecl, and using Template(Partial)SpecializationDecl as input type.
Definition at line 1900 of file ASTReaderDecl.cpp.
References AttributeLangSupport::C, clang::TemplateArgumentList::CreateCopy(), clang::VarTemplateDecl::getCommonPtr(), clang::Decl::isCanonicalDecl(), clang::VarTemplateDecl::Common::PartialSpecializations, Record, and clang::VarTemplateDecl::Common::Specializations.