Searched refs:expectedToOptional (Results 1 – 5 of 5) sorted by relevance
177 return llvm::expectedToOptional(getDirectoryRef(DirName, CacheFailure));243 return llvm::expectedToOptional(
415 auto DirInfo = expectedToOptional(getDirectoryFromFile( in getVirtualFileRef()
1085 return llvm::expectedToOptional(std::move(ShouldBeEntry)); in LookupEmbedFile()1113 return llvm::expectedToOptional(std::move(ShouldBeEntry)); in LookupEmbedFile()1129 return llvm::expectedToOptional(std::move(ShouldBeEntry)); in LookupEmbedFile()1141 return llvm::expectedToOptional(std::move(ShouldBeEntry)); in LookupEmbedFile()
189 expectedToOptional(SourceMgr.getFileManager().getFileRef(Filename)); in findHeader()
1080 template <typename T> std::optional<T> expectedToOptional(Expected<T> &&E) { in expectedToOptional() function