Home
last modified time | relevance | path

Searched refs:expectedToOptional (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h177 return llvm::expectedToOptional(getDirectoryRef(DirName, CacheFailure));
243 return llvm::expectedToOptional(
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp415 auto DirInfo = expectedToOptional(getDirectoryFromFile( in getVirtualFileRef()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1085 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()
H A DModuleMap.cpp189 expectedToOptional(SourceMgr.getFileManager().getFileRef(Filename)); in findHeader()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1080 template <typename T> std::optional<T> expectedToOptional(Expected<T> &&E) { in expectedToOptional() function