Lines Matching refs:Reader
39 ASTReader &Reader; member in clang::ASTDeclReader
56 return Reader.ReadSourceLocation(F, R, I); in ReadSourceLocation()
60 return Reader.ReadSourceRange(F, R, I); in ReadSourceRange()
64 return Reader.GetTypeSourceInfo(F, R, I); in GetTypeSourceInfo()
68 return Reader.ReadDeclID(F, R, I); in ReadDeclID()
77 return Reader.ReadDecl(F, R, I); in ReadDecl()
82 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
87 Reader.ReadQualifierInfo(F, Info, R, I); in ReadQualifierInfo()
92 Reader.ReadDeclarationNameLoc(F, DNLoc, Name, R, I); in ReadDeclarationNameLoc()
97 Reader.ReadDeclarationNameInfo(F, NameInfo, R, I); in ReadDeclarationNameInfo()
105 return Reader.getGlobalSubmoduleID(F, R[I++]); in readSubmoduleID()
109 return Reader.getSubmodule(readSubmoduleID(R, I)); in readModule()
118 static NamedDecl *getAnonymousDeclForMerging(ASTReader &Reader,
121 static void setAnonymousDeclForMerging(ASTReader &Reader, DeclContext *DC,
151 ASTReader &Reader; member in clang::ASTDeclReader::FindExistingResult
162 FindExistingResult(ASTReader &Reader) in FindExistingResult() argument
163 : Reader(Reader), New(nullptr), Existing(nullptr), AddResult(false), in FindExistingResult()
166 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing, in FindExistingResult() argument
169 : Reader(Reader), New(New), Existing(Existing), AddResult(true), in FindExistingResult()
174 : Reader(Other.Reader), New(Other.New), Existing(Other.Existing), in FindExistingResult()
193 static DeclContext *getPrimaryContextForMerging(ASTReader &Reader,
198 ASTDeclReader(ASTReader &Reader, ModuleFile &F, DeclID thisDeclID, in ASTDeclReader() argument
200 : Reader(Reader), F(F), ThisDeclID(thisDeclID), in ASTDeclReader()
211 static void attachPreviousDeclImpl(ASTReader &Reader,
214 static void attachPreviousDeclImpl(ASTReader &Reader, ...);
215 static void attachPreviousDecl(ASTReader &Reader, Decl *D, Decl *Previous,
362 else if (Reader.getContext().getLangOpts().ModulesLocalVisibility) { in mergeDefinitionVisibility()
363 Reader.getContext().mergeDefinitionIntoModule( in mergeDefinitionVisibility()
366 Reader.PendingMergedDefinitionsToDeduplicate.insert(Def); in mergeDefinitionVisibility()
370 Reader.HiddenNamesMap[Reader.getSubmodule(SubmoduleID)].push_back(Def); in mergeDefinitionVisibility()
440 TD->setTypeForDecl(Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull()); in Visit()
446 cast<TypedefNameDecl>(Reader.GetDecl(NamedDeclForTagDecl)); in Visit()
449 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull(); in Visit()
460 Reader.ReadCXXCtorInitializersRef(F, Record, Idx); in Visit()
462 Reader.PendingBodies[FD] = GetCurrentCursorOffset(); in Visit()
481 Reader.addPendingDeclContextInfo(D, in VisitDecl()
484 D->setDeclContext(Reader.getContext().getTranslationUnitDecl()); in VisitDecl()
490 DeclContext *MergedSemaDC = Reader.MergedDeclContexts.lookup(SemaDC); in VisitDecl()
494 Reader.getContext()); in VisitDecl()
496 D->setLocation(Reader.ReadSourceLocation(F, RawLocation)); in VisitDecl()
500 Reader.ReadAttributes(F, Attrs, Record, Idx); in VisitDecl()
503 D->setAttrsImpl(Attrs, Reader.getContext()); in VisitDecl()
522 } else if (Reader.getContext().getLangOpts().ModulesLocalVisibility) { in VisitDecl()
527 } else if (Module *Owner = Reader.getSubmodule(SubmoduleID)) { in VisitDecl()
534 Reader.HiddenNamesMap[Owner].push_back(D); in VisitDecl()
546 ND->setDeclName(Reader.ReadDeclarationName(F, Record, Idx)); in VisitNamedDecl()
554 TypeIDForTypeDecl = Reader.getGlobalTypeID(F, Record[Idx++]); in VisitTypeDecl()
563 QualType modedT = Reader.readType(F, Record, Idx); in VisitTypedefNameDecl()
601 TagDecl::ExtInfo *Info = new (Reader.getContext()) TagDecl::ExtInfo(); in VisitTagDecl()
608 TypedefNameForLinkage = Reader.GetIdentifierInfo(F, Record, Idx); in VisitTagDecl()
621 if (TypeSourceInfo *TI = Reader.GetTypeSourceInfo(F, Record, Idx)) in VisitEnumDecl()
624 ED->setIntegerType(Reader.readType(F, Record, Idx)); in VisitEnumDecl()
625 ED->setPromotionType(Reader.readType(F, Record, Idx)); in VisitEnumDecl()
635 Reader.getContext().getLangOpts().Modules && in VisitEnumDecl()
636 Reader.getContext().getLangOpts().CPlusPlus) { in VisitEnumDecl()
637 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]; in VisitEnumDecl()
649 Reader.MergedDeclContexts.insert(std::make_pair(ED, OldDef)); in VisitEnumDecl()
660 ED->setInstantiationOfMemberEnum(Reader.getContext(), InstED, TSK); in VisitEnumDecl()
677 VD->setType(Reader.readType(F, Record, Idx)); in VisitValueDecl()
683 ECD->setInitExpr(Reader.ReadExpr(F)); in VisitEnumConstantDecl()
684 ECD->setInitVal(Reader.ReadAPSInt(Record, Idx)); in VisitEnumConstantDecl()
693 = new (Reader.getContext()) DeclaratorDecl::ExtInfo(); in VisitDeclaratorDecl()
740 FD->setInstantiationOfMemberFunction(Reader.getContext(), InstFD, TSK); in VisitFunctionDecl()
752 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx, in VisitFunctionDecl()
764 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in VisitFunctionDecl()
772 ASTContext &C = Reader.getContext(); in VisitFunctionDecl()
805 assert(Reader.getContext().getLangOpts().Modules && in VisitFunctionDecl()
823 TemplArgs.addArgument(Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in VisitFunctionDecl()
827 FD->setDependentTemplateSpecialization(Reader.getContext(), in VisitFunctionDecl()
841 FD->setParams(Reader.getContext(), Params); in VisitFunctionDecl()
849 Reader.PendingBodies[MD] = GetCurrentCursorOffset(); in VisitObjCMethodDecl()
864 Reader.getContext().setObjCMethodRedeclaration(MD, in VisitObjCMethodDecl()
870 MD->setReturnType(Reader.readType(F, Record, Idx)); in VisitObjCMethodDecl()
886 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
922 return ObjCTypeParamList::create(Reader.getContext(), lAngleLoc, in ReadObjCTypeParamList()
929 TypeIDForTypeDecl = Reader.getGlobalTypeID(F, Record[Idx++]); in VisitObjCInterfaceDecl()
960 Reader.getContext()); in VisitObjCInterfaceDecl()
969 Reader.getContext()); in VisitObjCInterfaceDecl()
975 Reader.PendingDefinitions.insert(ID); in VisitObjCInterfaceDecl()
978 Reader.ObjCClassesLoaded.push_back(ID); in VisitObjCInterfaceDecl()
1016 Reader.getContext()); in VisitObjCProtocolDecl()
1019 Reader.PendingDefinitions.insert(PD); in VisitObjCProtocolDecl()
1038 Reader.CategoriesDeserialized.insert(CD); in VisitObjCCategoryDecl()
1052 Reader.getContext()); in VisitObjCCategoryDecl()
1064 QualType T = Reader.readType(F, Record, Idx); in VisitObjCPropertyDecl()
1073 D->setGetterName(Reader.ReadDeclarationName(F,Record, Idx).getObjCSelector()); in VisitObjCPropertyDecl()
1074 D->setSetterName(Reader.ReadDeclarationName(F,Record, Idx).getObjCSelector()); in VisitObjCPropertyDecl()
1087 D->setIdentifier(Reader.GetIdentifierInfo(F, Record, Idx)); in VisitObjCCategoryImplDecl()
1101 D->IvarInitializers = Reader.ReadCXXCtorInitializersRef(F, Record, Idx); in VisitObjCImplementationDecl()
1110 D->setGetterCXXConstructor(Reader.ReadExpr(F)); in VisitObjCPropertyImplDecl()
1111 D->setSetterCXXAssignment(Reader.ReadExpr(F)); in VisitObjCPropertyImplDecl()
1123 Reader.readType(F, Record, Idx).getAsOpaquePtr()); in VisitFieldDecl()
1125 FD->InitStorage.setPointer(Reader.ReadExpr(F)); in VisitFieldDecl()
1130 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); in VisitFieldDecl()
1137 PD->GetterId = Reader.GetIdentifierInfo(F, Record, Idx); in VisitMSPropertyDecl()
1138 PD->SetterId = Reader.GetIdentifierInfo(F, Record, Idx); in VisitMSPropertyDecl()
1146 FD->Chaining = new (Reader.getContext())NamedDecl*[FD->ChainingSize]; in VisitIndirectFieldDecl()
1179 VD->setInit(Reader.ReadExpr(F)); in VisitVarDeclImpl()
1206 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI); in VisitVarDeclImpl()
1235 PD->setUninstantiatedDefaultArg(Reader.ReadExpr(F)); in VisitParmVarDecl()
1243 AD->setAsmString(cast<StringLiteral>(Reader.ReadExpr(F))); in VisitFileScopeAsmDecl()
1249 BD->setBody(cast_or_null<CompoundStmt>(Reader.ReadStmt(F))); in VisitBlockDecl()
1271 Expr *copyExpr = ((flags & 4) ? Reader.ReadExpr(F) : nullptr); in VisitBlockDecl()
1275 BD->setCaptures(Reader.getContext(), captures, capturesCXXThis); in VisitBlockDecl()
1329 NamespaceDecl *Anon = cast<NamespaceDecl>(Reader.GetDecl(AnonNamespace)); in VisitNamespaceDecl()
1340 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitNamespaceAliasDecl()
1348 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDecl()
1353 Reader.getContext().setInstantiatedFromUsingDecl(D, Pattern); in VisitUsingDecl()
1364 Reader.getContext().setInstantiatedFromUsingShadowDecl(D, Pattern); in VisitUsingShadowDecl()
1372 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDirectiveDecl()
1380 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingValueDecl()
1389 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingTypenameDecl()
1437 Data.Bases = Reader.readCXXBaseSpecifiers(F, Record, Idx); in ReadCXXDefinitionData()
1440 Data.VBases = Reader.readCXXBaseSpecifiers(F, Record, Idx); in ReadCXXDefinitionData()
1442 Reader.ReadUnresolvedSet(F, Data.Conversions, Record, Idx); in ReadCXXDefinitionData()
1443 Reader.ReadUnresolvedSet(F, Data.VisibleConversions, Record, Idx); in ReadCXXDefinitionData()
1459 = (Capture*)Reader.Context.Allocate(sizeof(Capture)*Lambda.NumCaptures); in ReadCXXDefinitionData()
1490 Reader.MergedDeclContexts.insert(std::make_pair(MergeDD.Definition, in MergeDefinitionData()
1492 Reader.PendingDefinitions.erase(MergeDD.Definition); in MergeDefinitionData()
1495 assert(Reader.Lookups.find(MergeDD.Definition) == Reader.Lookups.end() && in MergeDefinitionData()
1499 auto PFDI = Reader.PendingFakeDefinitionData.find(&DD); in MergeDefinitionData()
1500 if (PFDI != Reader.PendingFakeDefinitionData.end() && in MergeDefinitionData()
1583 Reader.PendingOdrMergeFailures[DD.Definition].push_back(MergeDD.Definition); in MergeDefinitionData()
1588 ASTContext &C = Reader.getContext(); in ReadCXXRecordDefinition()
1620 Reader.PendingDefinitions.insert(D); in ReadCXXRecordDefinition()
1628 ASTContext &C = Reader.getContext(); in VisitCXXRecordDeclImpl()
1696 Reader.getContext().addOverriddenMethod(D, MD->getCanonicalDecl()); in VisitCXXMethodDecl()
1752 D->getTPLists()[i] = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitFriendDecl()
1764 D->Params[i] = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitFriendTemplateDecl()
1776 NamedDecl *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID)); in VisitTemplateDecl()
1778 = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitTemplateDecl()
1792 CanonD->Common = CanonD->newCommon(Reader.getContext()); in VisitRedeclarableTemplateDecl()
1793 Reader.PendingDefinitions.insert(CanonD); in VisitRedeclarableTemplateDecl()
1850 Reader.getContext(), CommonPtr->LazySpecializations, SpecIDs); in VisitClassTemplateDecl()
1858 Reader.Context.getInjectedClassNameType( in VisitClassTemplateDecl()
1882 Reader.getContext(), CommonPtr->LazySpecializations, SpecIDs); in VisitVarTemplateDecl()
1892 ASTContext &C = Reader.getContext(); in VisitClassTemplateSpecializationDeclImpl()
1898 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx); in VisitClassTemplateSpecializationDeclImpl()
1913 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx, in VisitClassTemplateSpecializationDeclImpl()
1968 D->TemplateParams = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitClassTemplatePartialSpecializationDecl()
1969 D->ArgsAsWritten = Reader.ReadASTTemplateArgumentListInfo(F, Record, Idx); in VisitClassTemplatePartialSpecializationDecl()
1996 Reader.getContext(), CommonPtr->LazySpecializations, SpecIDs); in VisitFunctionTemplateDecl()
2011 ASTContext &C = Reader.getContext(); in VisitVarTemplateSpecializationDeclImpl()
2017 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
2041 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx, in VisitVarTemplateSpecializationDeclImpl()
2075 D->TemplateParams = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitVarTemplatePartialSpecializationDecl()
2076 D->ArgsAsWritten = Reader.ReadASTTemplateArgumentListInfo(F, Record, Idx); in VisitVarTemplatePartialSpecializationDecl()
2103 Data[2*I] = Reader.readType(F, Record, Idx).getAsOpaquePtr(); in VisitNonTypeTemplateParmDecl()
2110 D->setDefaultArgument(Reader.ReadExpr(F)); in VisitNonTypeTemplateParmDecl()
2123 Data[I] = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitTemplateTemplateParmDecl()
2128 D->setDefaultArgument(Reader.getContext(), in VisitTemplateTemplateParmDecl()
2129 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in VisitTemplateTemplateParmDecl()
2139 D->AssertExprAndFailed.setPointer(Reader.ReadExpr(F)); in VisitStaticAssertDecl()
2141 D->Message = cast<StringLiteral>(Reader.ReadExpr(F)); in VisitStaticAssertDecl()
2194 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable()
2211 Reader.PendingDeclChains.push_back(std::make_pair(DAsT, RedeclOffset)); in VisitRedeclarable()
2225 if (!Reader.getContext().getLangOpts().Modules) in mergeRedeclarable()
2270 Reader.PendingDefinitions.insert(DClass); in mergeTemplatePattern()
2323 Reader.KeyDecls[ExistingCanon].push_back(Redecl.getFirstID()); in mergeRedeclarable()
2334 if (!Reader.getContext().getLangOpts().Modules) in mergeMergeable()
2340 if (!Reader.getContext().getLangOpts().CPlusPlus) in mergeMergeable()
2345 Reader.Context.setPrimaryMergedDecl(static_cast<T*>(D), in mergeMergeable()
2355 Vars.push_back(Reader.ReadExpr(F)); in VisitOMPThreadPrivateDecl()
2669 DeclContext *ASTDeclReader::getPrimaryContextForMerging(ASTReader &Reader, in getPrimaryContextForMerging() argument
2685 DD = new (Reader.Context) struct CXXRecordDecl::DefinitionData(RD); in getPrimaryContextForMerging()
2691 Reader.PendingFakeDefinitionData.insert( in getPrimaryContextForMerging()
2715 Reader.ImportedTypedefNamesForLinkage.insert( in ~FindExistingResult()
2726 setAnonymousDeclForMerging(Reader, New->getLexicalDeclContext(), in ~FindExistingResult()
2728 } else if (DC->isTranslationUnit() && Reader.SemaObj && in ~FindExistingResult()
2729 !Reader.getContext().getLangOpts().CPlusPlus) { in ~FindExistingResult()
2730 if (Reader.SemaObj->IdResolver.tryAddTopLevelDecl(New, Name)) in ~FindExistingResult()
2731 Reader.PendingFakeLookupResults[Name.getAsIdentifierInfo()] in ~FindExistingResult()
2733 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) { in ~FindExistingResult()
2760 NamedDecl *ASTDeclReader::getAnonymousDeclForMerging(ASTReader &Reader, in getAnonymousDeclForMerging() argument
2765 if (auto *Merged = Reader.MergedDeclContexts.lookup(DC)) in getAnonymousDeclForMerging()
2769 auto &Previous = Reader.AnonymousDeclarationsForMerging[DC]; in getAnonymousDeclForMerging()
2787 void ASTDeclReader::setAnonymousDeclForMerging(ASTReader &Reader, in setAnonymousDeclForMerging() argument
2790 if (auto *Merged = Reader.MergedDeclContexts.lookup(DC)) in setAnonymousDeclForMerging()
2793 auto &Previous = Reader.AnonymousDeclarationsForMerging[DC]; in setAnonymousDeclForMerging()
2807 FindExistingResult Result(Reader, D, /*Existing=*/nullptr, in findExisting()
2815 auto It = Reader.ImportedTypedefNamesForLinkage.find( in findExisting()
2817 if (It != Reader.ImportedTypedefNamesForLinkage.end()) in findExisting()
2819 return FindExistingResult(Reader, D, It->second, AnonymousDeclNumber, in findExisting()
2829 Reader, D->getLexicalDeclContext(), AnonymousDeclNumber)) in findExisting()
2831 return FindExistingResult(Reader, D, Existing, AnonymousDeclNumber, in findExisting()
2833 } else if (DC->isTranslationUnit() && Reader.SemaObj && in findExisting()
2834 !Reader.getContext().getLangOpts().CPlusPlus) { in findExisting()
2835 IdentifierResolver &IdResolver = Reader.SemaObj->IdResolver; in findExisting()
2865 return FindExistingResult(Reader, D, Existing, AnonymousDeclNumber, in findExisting()
2868 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) { in findExisting()
2873 return FindExistingResult(Reader, D, Existing, AnonymousDeclNumber, in findExisting()
2878 return FindExistingResult(Reader); in findExisting()
2886 auto MergedDCIt = Reader.MergedDeclContexts.find(D->getLexicalDeclContext()); in findExisting()
2887 if (MergedDCIt != Reader.MergedDeclContexts.end() && in findExisting()
2889 Reader.PendingOdrMergeChecks.push_back(D); in findExisting()
2891 return FindExistingResult(Reader, D, /*Existing=*/nullptr, in findExisting()
2921 void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, in attachPreviousDeclImpl() argument
2930 void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, in attachPreviousDeclImpl() argument
2969 Reader.PendingExceptionSpecUpdates.insert( in attachPreviousDeclImpl()
2975 void ASTDeclReader::attachPreviousDeclImpl(ASTReader &Reader, ...) { in attachPreviousDeclImpl() argument
3016 void ASTDeclReader::attachPreviousDecl(ASTReader &Reader, Decl *D, in attachPreviousDecl() argument
3024 attachPreviousDeclImpl(Reader, cast<TYPE##Decl>(D), Previous, Canon); \ in attachPreviousDecl()
3046 inheritDefaultTemplateArguments(Reader.getContext(), in attachPreviousDecl()
3109 ASTDeclReader Reader(*this, *Loc.F, ID, RawLocation, Record,Idx); in ReadDeclRecord() local
3319 Reader.Visit(D); in ReadDeclRecord()
3324 std::pair<uint64_t, uint64_t> Offsets = Reader.VisitDeclContext(DC); in ReadDeclRecord()
3346 if (isConsumerInterestedIn(D, Reader.hasPendingBody())) in ReadDeclRecord()
3389 ASTDeclReader Reader(*this, *F, ID, 0, Record, Idx); in loadDeclUpdateRecords() local
3390 Reader.UpdateDecl(D, *F, Record); in loadDeclUpdateRecords()
3395 isConsumerInterestedIn(D, Reader.hasPendingBody())) { in loadDeclUpdateRecords()
3447 ASTReader &Reader; member in __anonbabe5ca10311::ObjCCategoriesVisitor
3464 Reader.getOwningModuleFile(Existing) in add()
3465 != Reader.getOwningModuleFile(Cat)) { in add()
3477 Reader.Diag(Cat->getLocation(), diag::warn_dup_category_def) in add()
3479 Reader.Diag(Existing->getLocation(), diag::note_previous_definition); in add()
3495 ObjCCategoriesVisitor(ASTReader &Reader, in ObjCCategoriesVisitor() argument
3500 : Reader(Reader), InterfaceID(InterfaceID), Interface(Interface), in ObjCCategoriesVisitor()
3523 DeclID LocalID = Reader.mapGlobalIDToModuleFileGlobalID(M, InterfaceID); in operator ()()
3539 return Reader.isDeclIDFromModule(InterfaceID, M); in operator ()()
3548 Reader.GetLocalDecl(M, M.ObjCCategories[Offset++]))); in operator ()()
3591 Decl *MD = Reader.ReadDecl(ModuleFile, Record, Idx); in UpdateDecl()
3601 (void)Reader.ReadDecl(ModuleFile, Record, Idx); in UpdateDecl()
3606 = Reader.ReadDeclAs<NamespaceDecl>(ModuleFile, Record, Idx); in UpdateDecl()
3623 Reader.ReadSourceLocation(ModuleFile, Record, Idx)); in UpdateDecl()
3628 if (Reader.PendingBodies[FD]) { in UpdateDecl()
3642 FD->setInnerLocStart(Reader.ReadSourceLocation(ModuleFile, Record, Idx)); in UpdateDecl()
3647 Reader.ReadCXXCtorInitializersRef(F, Record, Idx); in UpdateDecl()
3650 Reader.PendingBodies[FD] = GetCurrentCursorOffset(); in UpdateDecl()
3661 !Reader.PendingFakeDefinitionData.count(OldDD)); in UpdateDecl()
3667 Reader.ReadLexicalDeclContextStorage(ModuleFile, ModuleFile.DeclsCursor, in UpdateDecl()
3669 Reader.PendingFakeDefinitionData.erase(OldDD); in UpdateDecl()
3673 SourceLocation POI = Reader.ReadSourceLocation(ModuleFile, Record, Idx); in UpdateDecl()
3688 Reader.ReadTemplateArgumentList(TemplArgs, F, Record, Idx); in UpdateDecl()
3690 Reader.getContext(), TemplArgs.data(), TemplArgs.size()); in UpdateDecl()
3701 RD->setLocation(Reader.ReadSourceLocation(ModuleFile, Record, Idx)); in UpdateDecl()
3702 RD->setLocStart(Reader.ReadSourceLocation(ModuleFile, Record, Idx)); in UpdateDecl()
3703 RD->setRBraceLoc(Reader.ReadSourceLocation(ModuleFile, Record, Idx)); in UpdateDecl()
3707 Reader.ReadAttributes(F, Attrs, Record, Idx); in UpdateDecl()
3708 D->setAttrsImpl(Attrs, Reader.getContext()); in UpdateDecl()
3716 auto *Del = Reader.ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in UpdateDecl()
3727 Reader.readExceptionSpec(ModuleFile, ExceptionStorage, ESI, Record, Idx); in UpdateDecl()
3735 FD->setType(Reader.Context.getFunctionType( in UpdateDecl()
3741 Reader.PendingExceptionSpecUpdates.insert( in UpdateDecl()
3749 QualType DeducedResultType = Reader.readType(ModuleFile, Record, Idx); in UpdateDecl()
3753 Reader.Context.adjustDeducedFunctionResultType(FD, DeducedResultType); in UpdateDecl()
3768 Reader.Context.setManglingNumber(cast<NamedDecl>(D), Record[Idx++]); in UpdateDecl()
3772 Reader.Context.setStaticLocalNumber(cast<VarDecl>(D), Record[Idx++]); in UpdateDecl()
3777 Reader.Context, ReadSourceRange(Record, Idx))); in UpdateDecl()
3785 Module *Owner = SubmoduleID ? Reader.getSubmodule(SubmoduleID) : nullptr; in UpdateDecl()
3786 if (Reader.getContext().getLangOpts().ModulesLocalVisibility) { in UpdateDecl()
3789 Reader.getContext().mergeDefinitionIntoModule( in UpdateDecl()
3792 Reader.PendingMergedDefinitionsToDeduplicate.insert( in UpdateDecl()
3797 Reader.HiddenNamesMap[Owner].push_back(Exported); in UpdateDecl()
3807 Reader.ReadAttributes(F, Attrs, Record, Idx); in UpdateDecl()