Home
last modified time | relevance | path

Searched refs:MaybeEntry (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTestModuleFileExtension.cpp53 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in Reader() local
55 if (!MaybeEntry) in Reader()
56 (void)MaybeEntry.takeError(); in Reader()
57 llvm::BitstreamEntry Entry = MaybeEntry.get(); in Reader()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp283 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in hasObjCCategoryInModule() local
284 if (!MaybeEntry) in hasObjCCategoryInModule()
285 return MaybeEntry.takeError(); in hasObjCCategoryInModule()
286 BitstreamEntry Entry = MaybeEntry.get(); in hasObjCCategoryInModule()
364 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in readModuleTriple() local
365 if (!MaybeEntry) in readModuleTriple()
366 return MaybeEntry.takeError(); in readModuleTriple()
367 BitstreamEntry Entry = MaybeEntry.get(); in readModuleTriple()
403 Expected<BitstreamEntry> MaybeEntry = Stream.advance(); in readTriple() local
404 if (!MaybeEntry) in readTriple()
[all …]
H A DMetadataLoader.cpp839 Expected<BitstreamEntry> MaybeEntry = in lazyLoadModuleMetadataBlock() local
842 if (!MaybeEntry) in lazyLoadModuleMetadataBlock()
843 return MaybeEntry.takeError(); in lazyLoadModuleMetadataBlock()
844 Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h459 Expected<BitstreamEntry> MaybeEntry = advance(Flags);
460 if (!MaybeEntry) variable
461 return MaybeEntry;
462 BitstreamEntry Entry = MaybeEntry.get();
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp433 Expected<BitstreamEntry> MaybeEntry = in ReadBlockInfoBlock() local
435 if (!MaybeEntry) in ReadBlockInfoBlock()
436 return MaybeEntry.takeError(); in ReadBlockInfoBlock()
437 BitstreamEntry Entry = MaybeEntry.get(); in ReadBlockInfoBlock()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1511 Expected<llvm::BitstreamEntry> MaybeEntry = Cursor.advance(); in readSLocOffset() local
1512 if (!MaybeEntry) in readSLocOffset()
1513 return MaybeEntry.takeError(); in readSLocOffset()
1515 llvm::BitstreamEntry Entry = MaybeEntry.get(); in readSLocOffset()
1647 Expected<llvm::BitstreamEntry> MaybeEntry = SLocEntryCursor.advance(); in ReadSLocEntry() local
1648 if (!MaybeEntry) { in ReadSLocEntry()
1649 Error(MaybeEntry.takeError()); in ReadSLocEntry()
1652 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadSLocEntry()
1897 Expected<llvm::BitstreamEntry> MaybeEntry = in ReadMacroRecord() local
1899 if (!MaybeEntry) { in ReadMacroRecord()
[all …]
H A DGlobalModuleIndex.cpp549 Expected<llvm::BitstreamEntry> MaybeEntry = InStream.advance(); in loadModuleFile() local
550 if (!MaybeEntry) in loadModuleFile()
551 return MaybeEntry.takeError(); in loadModuleFile()
552 llvm::BitstreamEntry Entry = MaybeEntry.get(); in loadModuleFile()
H A DASTReaderStmt.cpp2886 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in ReadStmtFromStream() local
2888 if (!MaybeEntry) { in ReadStmtFromStream()
2889 Error(toString(MaybeEntry.takeError())); in ReadStmtFromStream()
2892 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadStmtFromStream()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp283 auto MaybeEntry = computeAndStoreResult(OriginalFilename, *FilenameForLookup); in getOrCreateFileSystemEntry() local
284 if (!MaybeEntry) in getOrCreateFileSystemEntry()
285 return MaybeEntry.getError(); in getOrCreateFileSystemEntry()
286 return EntryRef(OriginalFilename, *MaybeEntry).unwrapError(); in getOrCreateFileSystemEntry()