Home
last modified time | relevance | path

Searched refs:errorToErrorCode (Results 1 – 25 of 25) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp125 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
137 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
147 return llvm::errorToErrorCode(std::move(Err)); in skipUntilRecordOrBlock()
197 return errorToErrorCode(MaybeRecordID.takeError()); in readMetaBlock()
256 return errorToErrorCode(MaybeRecID.takeError()); in readDiagnosticBlock()
H A DPrecompiledPreamble.cpp432 return errorToErrorCode(std::move(Err)); in Build()
H A DCompilerInstance.cpp780 << OutputPath << errorToErrorCode(OS.takeError()).message(); in createOutputFile()
915 auto EC = llvm::errorToErrorCode(FileOrErr.takeError()); in InitializeSourceManager()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/
H A DFileArchive.cpp97 return errorToErrorCode(std::move(err)); in parseAllMembers()
130 return errorToErrorCode(std::move(Err)); in doParse()
142 return errorToErrorCode(mbOrErr.takeError()); in instantiateMember()
176 return errorToErrorCode(memberOrErr.takeError()); in buildTableOfContents()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp236 return errorToErrorCode(ReadBytes.takeError()); in getMemoryBufferForStream()
265 return errorToErrorCode(FDOrErr.takeError()); in getFileAux()
384 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile()
490 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
532 return errorToErrorCode(FDOrErr.takeError()); in getFileAsStream()
H A DError.cpp93 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() function
H A DVirtualFileSystem.cpp302 return errorToErrorCode(FDOrErr.takeError()); in openFileForRead()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp96 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocatedSymbols()
118 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocationOffsets()
196 error(errorToErrorCode(SymNameOrErr.takeError())); in dumpCXXData()
199 error(errorToErrorCode(SecIOrErr.takeError())); in dumpCXXData()
210 error(errorToErrorCode(SymAddressOrErr.takeError())); in dumpCXXData()
530 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp119 return errorToErrorCode(Address.takeError()); in getSymbol()
179 return errorToErrorCode(ResolvedAddressOrErr.takeError()); in resolveRelocation()
184 return errorToErrorCode(SI.takeError()); in resolveRelocation()
H A DARMWinEHPrinter.cpp217 return errorToErrorCode(Type.takeError()); in getSymbol()
223 return errorToErrorCode(Address.takeError()); in getSymbol()
H A DARMEHABIPrinter.h429 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in FindExceptionTable()
H A DCOFFDumper.cpp286 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DFile.h247 return llvm::errorToErrorCode(std::move(ec)); in doParse()
250 return llvm::errorToErrorCode(std::move(ec)); in doParse()
338 return llvm::errorToErrorCode(std::move(ec)); in doParse()
341 return llvm::errorToErrorCode(std::move(ec)); in doParse()
/freebsd-13.1/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp128 return errorToErrorCode(FileOutputBuffer::create(path, 1).takeError()); in tryCreateFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp192 return llvm::errorToErrorCode(Result.takeError()); in getDirectory()
200 return llvm::errorToErrorCode(Result.takeError()); in getFile()
239 std::error_code Err = errorToErrorCode(DirInfoOrErr.takeError()); in getFileRef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DCaching.cpp58 EC = errorToErrorCode(FDOrErr.takeError()); in localCache()
H A DLTOModule.cpp177 std::error_code EC = errorToErrorCode(std::move(E)); in parseBitcodeFileImpl()
H A DThinLTOCodeGenerator.cpp442 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp169 << errorToErrorCode(Def.takeError()).message(); in dlltoolDriverMain()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h410 report_fatal_error(errorToErrorCode(RelSecOrErr.takeError()).message()); in getRelSection()
969 report_fatal_error(errorToErrorCode(SymSecOrErr.takeError()).message()); in section_rel_end()
1058 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getRel()
1068 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getRela()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1172 std::error_code errorToErrorCode(Error Err);
1184 return errorToErrorCode(std::move(Err)); in expectedToErrorOr()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp279 failIfError(errorToErrorCode(LibOrErr.takeError()), in readLibrary()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp521 std::error_code code = errorToErrorCode(file.takeError()); in Handle_vFile_Open()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1073 return errorToErrorCode(H.takeError());
1200 return errorToErrorCode(Result.takeError());
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp355 std::error_code EC = llvm::errorToErrorCode(File.takeError()); in getFileAndSuggestModule()