Home
last modified time | relevance | path

Searched refs:MaybeRecord (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp300 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in hasObjCCategoryInModule() local
301 if (!MaybeRecord) in hasObjCCategoryInModule()
302 return MaybeRecord.takeError(); in hasObjCCategoryInModule()
303 switch (MaybeRecord.get()) { in hasObjCCategoryInModule()
381 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in readModuleTriple() local
382 if (!MaybeRecord) in readModuleTriple()
383 return MaybeRecord.takeError(); in readModuleTriple()
384 switch (MaybeRecord.get()) { in readModuleTriple()
1970 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseAttributeBlock() local
1971 if (!MaybeRecord) in parseAttributeBlock()
[all …]
H A DMetadataLoader.cpp808 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local
812 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock()
828 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local
832 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock()
1024 if (Expected<unsigned> MaybeRecord = in loadGlobalDeclAttachments() local
1028 return MaybeRecord.takeError(); in loadGlobalDeclAttachments()
2370 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseMetadataAttachment() local
2371 if (!MaybeRecord) in parseMetadataAttachment()
2372 return MaybeRecord.takeError(); in parseMetadataAttachment()
2373 switch (MaybeRecord.get()) { in parseMetadataAttachment()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1486 Expected<unsigned> MaybeRecord = in ReadSourceManagerBlock() local
1488 if (!MaybeRecord) in ReadSourceManagerBlock()
1489 return MaybeRecord.takeError(); in ReadSourceManagerBlock()
1490 switch (MaybeRecord.get()) { in ReadSourceManagerBlock()
2186 Expected<unsigned> MaybeRecord = Cursor.readRecord(E.ID, Record); in ReadDefinedMacros() local
2187 if (!MaybeRecord) { in ReadDefinedMacros()
2188 Error(MaybeRecord.takeError()); in ReadDefinedMacros()
2191 switch (MaybeRecord.get()) { in ReadDefinedMacros()
5269 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record, &Blob); in readASTFileSignature() local
5270 if (!MaybeRecord) { in readASTFileSignature()
[all …]