Searched refs:MaybeCode (Results 1 – 7 of 7) sorted by relevance
99 Expected<uint32_t> MaybeCode = ReadVBR(6); in skipRecord() local100 if (!MaybeCode) in skipRecord()101 return MaybeCode.takeError(); in skipRecord()102 unsigned Code = MaybeCode.get(); in skipRecord()130 Expected<uint64_t> MaybeCode = readAbbreviatedField(*this, CodeOp); in skipRecord() local131 if (!MaybeCode) in skipRecord()132 return MaybeCode.takeError(); in skipRecord()133 Code = MaybeCode.get(); in skipRecord()218 Expected<uint32_t> MaybeCode = ReadVBR(6); in readRecord() local219 if (!MaybeCode) in readRecord()[all …]
849 if (Expected<unsigned> MaybeCode = in lazyLoadModuleMetadataBlock() local851 assert(MaybeCode.get() == bitc::METADATA_INDEX && in lazyLoadModuleMetadataBlock()855 return MaybeCode.takeError(); in lazyLoadModuleMetadataBlock()876 if (Expected<unsigned> MaybeCode = in lazyLoadModuleMetadataBlock() local878 Code = MaybeCode.get(); in lazyLoadModuleMetadataBlock()881 return MaybeCode.takeError(); in lazyLoadModuleMetadataBlock()885 if (Expected<unsigned> MaybeCode = IndexCursor.ReadCode()) in lazyLoadModuleMetadataBlock() local886 Code = MaybeCode.get(); in lazyLoadModuleMetadataBlock()888 return MaybeCode.takeError(); in lazyLoadModuleMetadataBlock()1007 Expected<unsigned> MaybeCode = TempCursor.skipRecord(Entry.ID); in loadGlobalDeclAttachments() local[all …]
585 Expected<unsigned> MaybeCode = BlockInfoCursor.ReadCode(); in analyze() local586 if (!MaybeCode) in analyze()587 return MaybeCode.takeError(); in analyze()588 if (MaybeCode.get() != bitc::ENTER_SUBBLOCK) in analyze()613 Expected<unsigned> MaybeCode = Stream.ReadCode(); in analyze() local614 if (!MaybeCode) in analyze()615 return MaybeCode.takeError(); in analyze()616 if (MaybeCode.get() != bitc::ENTER_SUBBLOCK) in analyze()
422 Expected<unsigned> MaybeCode = ReadCode();423 if (!MaybeCode) variable 424 return MaybeCode.takeError();425 unsigned Code = MaybeCode.get();
612 Expected<unsigned> MaybeCode = InStream.readRecord(Entry.ID, Record, &Blob); in loadModuleFile() local613 if (!MaybeCode) in loadModuleFile()614 return MaybeCode.takeError(); in loadModuleFile()615 unsigned Code = MaybeCode.get(); in loadModuleFile()
3838 Expected<unsigned> MaybeCode = DeclsCursor.ReadCode(); in ReadDeclRecord() local3839 if (!MaybeCode) in ReadDeclRecord()3840 Fail("reading code", MaybeCode.takeError()); in ReadDeclRecord()3841 unsigned Code = MaybeCode.get(); in ReadDeclRecord()4285 Expected<unsigned> MaybeCode = Cursor.ReadCode(); in loadDeclUpdateRecords() local4286 if (!MaybeCode) in loadDeclUpdateRecords()4289 toString(MaybeCode.takeError())); in loadDeclUpdateRecords()4290 unsigned Code = MaybeCode.get(); in loadDeclUpdateRecords()4298 toString(MaybeCode.takeError())); in loadDeclUpdateRecords()4366 Expected<unsigned> MaybeCode = Cursor.ReadCode(); in loadPendingDeclChain() local[all …]
1282 Expected<unsigned> MaybeCode = Cursor.ReadCode(); in ReadLexicalDeclContextStorage() local1283 if (!MaybeCode) { in ReadLexicalDeclContextStorage()1284 Error(MaybeCode.takeError()); in ReadLexicalDeclContextStorage()1287 unsigned Code = MaybeCode.get(); in ReadLexicalDeclContextStorage()1331 Expected<unsigned> MaybeCode = Cursor.ReadCode(); in ReadVisibleDeclContextStorage() local1332 if (!MaybeCode) { in ReadVisibleDeclContextStorage()1333 Error(MaybeCode.takeError()); in ReadVisibleDeclContextStorage()1336 unsigned Code = MaybeCode.get(); in ReadVisibleDeclContextStorage()1592 Expected<unsigned> MaybeCode = SLocEntryCursor.ReadCode(); in ReadSLocEntry() local1593 if (!MaybeCode) { in ReadSLocEntry()[all …]