Lines Matching refs:Path
16 #include "llvm/Support/Path.h"
35 /// path, using the cache to accelerate it if possible. This returns true if
36 /// the path does not exist or false if it exists.
43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile,
51 R = Cache->getStat(Path, Data, isFile, F, FS);
55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path);
70 auto OwnedFile = FS.openFileForRead(Path);
93 // If the path doesn't exist, return failure.
96 // If the path exists, make sure that its "directoryness" matches the clients
110 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile,
112 LookupResult Result = statChained(Path, Data, isFile, F, FS);
122 if (!Data.IsDirectory || llvm::sys::path::is_absolute(Path))
123 StatCalls[Path] = Data;