Searched refs:MaybeFile (Results 1 – 3 of 3) sorted by relevance
21 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>> MaybeFile = in createFileEntry() local23 if (!MaybeFile) in createFileEntry()24 return MaybeFile.getError(); in createFileEntry()25 llvm::ErrorOr<llvm::vfs::Status> Stat = (*MaybeFile)->status(); in createFileEntry()29 llvm::vfs::File &F = **MaybeFile; in createFileEntry()
201 llvm::Expected<std::string> &MaybeFile, in handleMakeDependencyToolResult() argument203 if (!MaybeFile) { in handleMakeDependencyToolResult()205 MaybeFile.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleMakeDependencyToolResult()213 OS.applyLocked([&](raw_ostream &OS) { OS << *MaybeFile; }); in handleMakeDependencyToolResult()530 auto MaybeFile = WorkerTools[I]->getDependencyFile(*Input, CWD); in main() local531 if (handleMakeDependencyToolResult(Filename, MaybeFile, DependencyOS, in main()
741 if (Expected<StringRef> MaybeFile = in visitKnownRecord() local743 Filename = *MaybeFile; in visitKnownRecord()745 return MaybeFile.takeError(); in visitKnownRecord()