Searched refs:errorOrToExpected (Results 1 – 5 of 5) sorted by relevance
38 return errorOrToExpected(IRObjectFile::create(Object, *Context)); in createSymbolicFile()76 return errorOrToExpected(IRObjectFile::create( in createSymbolicFile()
90 return errorOrToExpected(createELFObjectFile(Object)); in createObjectFile()106 return errorOrToExpected(createCOFFObjectFile(Object)); in createObjectFile()
589 expectedToErrorOr(errorOrToExpected(ErrorOr<int>(42))); in TEST()601 errorOrToExpected(ErrorOr<int>(errc::invalid_argument))); in TEST()
865 template <typename T> Expected<T> errorOrToExpected(ErrorOr<T> &&EO) { in errorOrToExpected() function
902 template <typename T> Expected<T> errorOrToExpected(ErrorOr<T> &&EO) { in errorOrToExpected() function