Home | History | Annotate | Download | only in Serialization

Lines Matching refs:Index

1382          && "Invalid index into preprocessed entity index remap");
2806 int Index = int(M->PreloadSLocEntries[I] - 1) + F.SLocEntryBaseID;
2811 SourceMgr.getLoadedSLocEntryByID(Index);
3331 PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) {
3332 PreprocessedEntityID PPID = Index+1;
3333 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);
3573 /// entity with index \arg Index came from file \arg FID.
3574 llvm::Optional<bool> ASTReader::isPreprocessedEntityInFileID(unsigned Index,
3579 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);
3676 ASTReader::RecordLocation ASTReader::TypeCursorForIndex(unsigned Index) {
3677 GlobalTypeMapType::iterator I = GlobalTypeMap.find(Index);
3680 return RecordLocation(M, M->TypeOffsets[Index - M->BaseTypeIndex]);
3683 /// \brief Read and return the type with the given index..
3685 /// The index is the type ID, shifted and minus the number of predefs. This
3689 QualType ASTReader::readTypeRecord(unsigned Index) {
3690 RecordLocation Loc = TypeCursorForIndex(Index);
4042 unsigned Index = Record[Idx++];
4046 return Context.getTemplateTypeParmType(Depth, Index, Pack, D);
4374 unsigned Index = ID >> Qualifiers::FastWidth;
4376 if (Index < NUM_PREDEF_TYPE_IDS) {
4378 switch ((PredefinedTypeIDs)Index) {
4433 Index -= NUM_PREDEF_TYPE_IDS;
4434 assert(Index < TypesLoaded.size() && "Type index out-of-range");
4435 if (TypesLoaded[Index].isNull()) {
4436 TypesLoaded[Index] = readTypeRecord(Index);
4437 if (TypesLoaded[Index].isNull())
4440 TypesLoaded[Index]->setFromAST();
4443 TypesLoaded[Index]);
4446 return TypesLoaded[Index].withFastQualifiers(FastQuals);
4463 assert(I != F.TypeRemap.end() && "Invalid index into type index remap");
4473 unsigned &Index) {
4478 return GetTypeSourceInfo(F, Record, Index);
4481 Index);
4482 SourceLocation TemplateNameLoc = ReadSourceLocation(F, Record, Index);
4488 Index);
4489 SourceLocation TemplateNameLoc = ReadSourceLocation(F, Record, Index);
4490 SourceLocation EllipsisLoc = ReadSourceLocation(F, Record, Index);
4505 const RecordData &Record, unsigned &Index) {
4506 TemplateArgument Arg = ReadTemplateArgument(F, Record, Index);
4509 if (Record[Index++]) // bool InfoHasSameExpr.
4513 Record, Index));
4559 assert(I != F.DeclRemap.end() && "Invalid index into decl index remap");
4583 unsigned Index = ID - NUM_PREDEF_DECL_IDS;
4585 if (Index > DeclsLoaded.size()) {
4590 if (Decl *D = DeclsLoaded[Index])
4630 unsigned Index = ID - NUM_PREDEF_DECL_IDS;
4632 if (Index >= DeclsLoaded.size()) {
4636 if (!DeclsLoaded[Index]) {
4639 DeserializationListener->DeclRead(ID, DeclsLoaded[Index]);
4642 return DeclsLoaded[Index];
5252 /// \brief The current index into the chain of AST files stored in
5254 unsigned Index;
5272 : Reader(Reader), Index(Reader.ModuleMgr.size() - 1) {
5274 = (ASTIdentifierLookupTable *)Reader.ModuleMgr[Index].IdentifierLookupTable;
5282 if (Index == 0)
5285 --Index;
5287 = (ASTIdentifierLookupTable *)Reader.ModuleMgr[Index].
5602 unsigned Index = ID - M->BaseIdentifierID;
5603 const char *Str = M->IdentifierTableData + M->IdentifierOffsets[Index];
5633 && "Invalid index into identifier index remap");
5650 && "Invalid index into identifier index remap");
5715 && "Invalid index into identifier index remap");