reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/FileSystem.h
 1299         *State, de.path(), FollowSymlinks);
lib/Support/CachePruning.cpp
  218     if (!sys::path::filename(File->path()).startswith("llvmcache-"))
  225       LLVM_DEBUG(dbgs() << "Ignore " << File->path() << " (can't stat)\n");
  233       LLVM_DEBUG(dbgs() << "Remove " << File->path() << " ("
  236       sys::fs::remove(File->path());
  242     FileInfos.insert({FileAccessTime, StatusOrErr->getSize(), File->path()});
lib/Support/Unix/Path.inc
 1050     EC = fs::remove(Item.path(), true);
lib/Support/VirtualFileSystem.cpp
  363       CurrentEntry = directory_entry(Iter->path(), Iter->type());
  371                        : directory_entry(Iter->path(), Iter->type());
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2012     if (is_regular_file(DI->path()))
 2013       Filenames.push_back(filename(DI->path()));
tools/clang/lib/DirectoryWatcher/DirectoryScanner.cpp
   33     auto status = getFileStatus(It->path());
   36     Result.emplace_back(sys::path::filename(It->path()));
tools/clang/lib/Driver/Driver.cpp
 1179     StringRef FileName = path::filename(File->path());
 1182     if (fs::status(File->path(), FileStatus))
 1185         llvm::MemoryBuffer::getFile(File->path());
 1225       CrashFilePath.assign(File->path());
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  182         StringRef FilePath = LI->path();
tools/clang/lib/Driver/ToolChains/MSVC.cpp
 1040     if (!llvm::sys::fs::is_directory(DirIt->path()))
 1042     StringRef CandidateName = llvm::sys::path::filename(DirIt->path());
tools/clang/lib/Driver/ToolChains/MinGW.cpp
  307     StringRef VersionText = llvm::sys::path::filename(LI->path());
  315     GccLibDir = LI->path();
tools/clang/lib/Frontend/CompilerInstance.cpp
 1434     if (!llvm::sys::fs::is_directory(Dir->path()))
 1438     for (llvm::sys::fs::directory_iterator File(Dir->path(), EC), FileEnd;
 1441       StringRef Extension = llvm::sys::path::extension(File->path());
 1443           llvm::sys::path::filename(File->path()) != "modules.idx")
 1448       if (llvm::sys::fs::status(File->path(), StatBuf))
 1459       llvm::sys::fs::remove(File->path());
 1462       std::string TimpestampFilename = File->path() + ".timestamp";
 1468     if (llvm::sys::fs::directory_iterator(Dir->path(), EC) ==
 1470       llvm::sys::fs::remove(Dir->path());
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  886     if (llvm::sys::path::extension(D->path()) != ".pcm") {
  890       if (llvm::sys::path::extension(D->path()) == ".pcm.lock")
  898     auto ModuleFile = FileMgr.getFile(D->path());
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
   49     if (filename(I->path())[0] == '.') {
   55     if (extension(I->path()) != ".yaml")
   58     TUFiles.push_back(I->path());
   61         MemoryBuffer::getFile(I->path());
   63       errs() << "Error reading " << I->path() << ": " << BufferError.message()
   93     if (filename(I->path())[0] == '.') {
   99     if (extension(I->path()) != ".yaml")
  102     TUFiles.push_back(I->path());
  105         MemoryBuffer::getFile(I->path());
  107       errs() << "Error reading " << I->path() << ": " << BufferError.message()
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  113           Dir->path());
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  250     std::string File(I->path());
  374     StringRef file(I->path());
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  410     std::string File(I->path());
tools/dsymutil/dsymutil.cpp
  140       Inputs.push_back(DirIt->path());
tools/llvm-cov/CodeCoverage.cpp
  220         warning(Status.getError().message(), F->path());
  225         addCollectedPath(F->path());
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  546       const std::string &Path = Dir->path();
tools/llvm-profdata/llvm-profdata.cpp
  568       if (llvm::sys::fs::is_regular_file(F->path())) {
  569         addWeightedInput(WNI, {F->path(), Weight});
unittests/Support/Path.cpp
  845     if (path::filename(i->path()) == "p1") {
  850     if (path::filename(i->path()) == "dontlookhere")
  852     visited.push_back(path::filename(i->path()));
  942       VisitedBrokenSymlinks.push_back(path::filename(i->path()));
  945     VisitedNonBrokenSymlinks.push_back(path::filename(i->path()));
  959       VisitedBrokenSymlinks.push_back(path::filename(i->path()));
  962     VisitedNonBrokenSymlinks.push_back(path::filename(i->path()));
  978       VisitedBrokenSymlinks.push_back(path::filename(i->path()));
  981     VisitedNonBrokenSymlinks.push_back(path::filename(i->path()));