Home
last modified time | relevance | path

Searched refs:MaybeFile (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp21 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>> MaybeFile = in createFileEntry() local
23 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()
/external/llvm-project/clang/tools/clang-scan-deps/
DClangScanDeps.cpp201 llvm::Expected<std::string> &MaybeFile, in handleMakeDependencyToolResult() argument
203 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() local
531 if (handleMakeDependencyToolResult(Filename, MaybeFile, DependencyOS, in main()
/external/llvm-project/llvm/tools/llvm-pdbutil/
DMinimalSymbolDumper.cpp741 if (Expected<StringRef> MaybeFile = in visitKnownRecord() local
743 Filename = *MaybeFile; in visitKnownRecord()
745 return MaybeFile.takeError(); in visitKnownRecord()