|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Support/Path.h 301 StringRef filename(StringRef path, Style style = Style::native);
References
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 285 llvm::sys::path::filename(M.getSourceFileName()));
lib/DebugInfo/GSYM/GsymCreator.cpp 31 llvm::StringRef filename = llvm::sys::path::filename(Path, Style);
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp 29 return sys::path::filename(getSourceFileFullPath()).str();
lib/DebugInfo/Symbolize/DIPrinter.cpp 77 Filename = llvm::sys::path::filename(Filename);
lib/DebugInfo/Symbolize/Symbolize.cpp 294 StringRef Filename = sys::path::filename(ExePath);
lib/IR/Module.cpp 105 Salt += sys::path::filename(getModuleIdentifier());
lib/IR/ModuleSummaryIndex.cpp 414 OS << " label = \"" << sys::path::filename(ModIt.first) << "\";\n";
lib/MC/MCDwarf.cpp 606 StringRef tFileName = sys::path::filename(FileName);
lib/Object/COFFImportFile.cpp 576 ObjectFactory OF(llvm::sys::path::filename(ImportName), Machine);
lib/ProfileData/GCOV.cpp 647 return sys::path::filename(Filename).str();
lib/Support/CachePruning.cpp 218 if (!sys::path::filename(File->path()).startswith("llvmcache-"))
lib/Support/CommandLine.cpp 1274 ProgramName = sys::path::filename(StringRef(argv[0]));
lib/Support/FileCollector.cpp 43 StringRef FileName = sys::path::filename(SrcPath);
lib/Support/Path.cpp 568 StringRef fname = filename(path, style);
581 StringRef fname = filename(path, style);
639 return !filename(p, style).empty();
lib/Support/VirtualFileSystem.cpp 495 StringRef Name = llvm::sys::path::filename(CurrentEntry.path());
538 : Kind(Kind), FileName(llvm::sys::path::filename(FileName)) {}
1445 StringRef LastComponent = sys::path::filename(Trimmed);
1990 writeEntry(path::filename(Entry.VPath), RPath);
2011 writeEntry(path::filename(Entry.VPath), RPath);
2097 StringRef Name = llvm::sys::path::filename(CurrentEntry.path());
lib/Transforms/Instrumentation/GCOVProfiling.cpp 554 StringRef FName = sys::path::filename(Filename);
tools/clang/lib/ARCMigrate/FileRemapper.cpp 145 if (fs::createTemporaryFile(path::filename(origFE->getName()),
tools/clang/lib/ARCMigrate/ObjCMT.cpp 162 return WhiteListFilenames.find(llvm::sys::path::filename(Path))
2013 Filenames.push_back(filename(DI->path()));
2216 if (fs::createTemporaryFile(path::filename(FE->getName()),
tools/clang/lib/Analysis/CloneDetection.cpp 162 StringRef Filename = llvm::sys::path::filename(
tools/clang/lib/CodeGen/CGDeclCXX.cpp 581 SmallString<128> FileName = llvm::sys::path::filename(getModule().getName());
tools/clang/lib/CodeGen/CGExpr.cpp 2901 FilenameString = llvm::sys::path::filename(FilenameString);
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 175 StringRef ModuleName = llvm::sys::path::filename(MainFileName);
tools/clang/lib/DirectoryWatcher/DirectoryScanner.cpp 36 Result.emplace_back(sys::path::filename(It->path()));
tools/clang/lib/Driver/Driver.cpp 139 Name = llvm::sys::path::filename(ClangExecutable);
1179 StringRef FileName = path::filename(File->path());
1378 VFS = llvm::sys::path::filename(TempFile);
4375 StringRef BaseName = llvm::sys::path::filename(BaseInput);
4393 StringRef BaseName = llvm::sys::path::filename(BaseInput);
4404 StringRef Name = llvm::sys::path::filename(BaseInput);
4434 BaseName = llvm::sys::path::filename(BasePath);
4515 StringRef OutputFileName = llvm::sys::path::filename(NamedOutput);
4530 StringRef Name = llvm::sys::path::filename(BaseInput);
tools/clang/lib/Driver/Job.cpp 259 StringRef ShortName = llvm::sys::path::filename(CrashInfo->Filename);
320 llvm::outs() << llvm::sys::path::filename(Arg) << "\n";
tools/clang/lib/Driver/Multilib.cpp 34 StringRef last = path::filename(seg);
tools/clang/lib/Driver/ToolChains/BareMetal.cpp 125 StringRef VersionText = llvm::sys::path::filename(LI->path());
tools/clang/lib/Driver/ToolChains/Clang.cpp 808 OutputFilename = llvm::sys::path::filename(Output.getBaseInput());
1046 DepTarget = Args.MakeArgString(llvm::sys::path::filename(P));
1119 : llvm::sys::path::filename(Inputs[0].getBaseInput()))));
1996 Twine(llvm::sys::path::filename(Input.getFilename())) + ".%%%%.json");
6003 return Args.MakeArgString(llvm::sys::path::filename(Input.getBaseInput()));
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 1288 std::string Name = llvm::sys::path::filename(Output.getFilename());
1385 StringRef BaseName = llvm::sys::path::filename(Input.getBaseInput());
tools/clang/lib/Driver/ToolChains/Cuda.cpp 108 if (llvm::sys::path::filename(ptxasDir) == "bin")
183 StringRef FileName = llvm::sys::path::filename(FilePath);
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp 50 if (llvm::sys::path::filename(Exec).equals_lower("ld.lld") ||
tools/clang/lib/Driver/ToolChains/Gnu.cpp 1890 StringRef VersionText = llvm::sys::path::filename(LI->path());
2390 StringRef VersionText = llvm::sys::path::filename(LI->path());
tools/clang/lib/Driver/ToolChains/Linux.cpp 875 StringRef VersionText = llvm::sys::path::filename(LI->path());
tools/clang/lib/Driver/ToolChains/MSVC.cpp 121 bool IsBin = llvm::sys::path::filename(TestPath).equals_lower("bin");
125 IsBin = llvm::sys::path::filename(TestPath).equals_lower("bin");
129 llvm::StringRef ParentFilename = llvm::sys::path::filename(ParentPath);
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());
tools/clang/lib/Frontend/CompilerInstance.cpp 1169 StringRef Filename = llvm::sys::path::filename(File->getName());
1443 llvm::sys::path::filename(File->path()) != "modules.idx")
tools/clang/lib/Frontend/CompilerInvocation.cpp 992 .Default(llvm::sys::path::filename(FrontendOpts.OutputFile).str());
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp 92 llvm::sys::path::filename(HeaderFilename));
163 StringRef FileName = path::filename(SrcPath);
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp 88 llvm::sys::fs::createTemporaryFile(llvm::sys::path::filename(Filename),
tools/clang/lib/Frontend/TextDiagnostic.cpp 792 llvm::sys::path::filename(Filename));
tools/clang/lib/Index/FileIndexRecord.cpp 50 OS << llvm::sys::path::filename(PLoc.getFilename()) << ':' << PLoc.getLine()
tools/clang/lib/Index/USRGeneration.cpp 34 OS << llvm::sys::path::filename(FE->getName());
tools/clang/lib/Lex/HeaderSearch.cpp 194 auto FileName = llvm::sys::path::filename(ModuleMapPath);
1283 llvm::sys::path::filename(File->getName()));
1462 StringRef Filename = llvm::sys::path::filename(File->getName());
1501 if (llvm::sys::path::filename(DirName) == "Modules") {
tools/clang/lib/Lex/ModuleMap.cpp 396 ModuleMap::isBuiltinHeader(llvm::sys::path::filename(File->getName()))) {
tools/clang/lib/Lex/PPLexerChange.cpp 213 llvm::sys::path::filename(File->getName()));
tools/clang/lib/Lex/PPMacroExpansion.cpp 1513 StringRef PLFileName = llvm::sys::path::filename(PLoc.getFilename());
tools/clang/lib/Sema/SemaCodeComplete.cpp 8698 StringRef Filename = llvm::sys::path::filename(It->path());
tools/clang/lib/Serialization/ASTReader.cpp 1410 path::append(currPCHPath, path::filename(Filename));
9046 StringRef ModuleName = llvm::sys::path::filename(MF.OriginalSourceFileName);
9047 StringRef FileName = llvm::sys::path::filename(MF.FileName);
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 768 if (llvm::sys::path::filename(FilePath).startswith("CG")) {
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 244 << llvm::sys::path::filename(Entry->getName()).str()
265 llvm::sys::path::filename(ResultPath));
553 os << "\n<!-- FILENAME " << llvm::sys::path::filename(Entry->getName()) << " -->\n";
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 149 << llvm::sys::path::filename(Plugin);
tools/clang/lib/Tooling/FileMatchTrie.cpp 74 StringRef Element(llvm::sys::path::filename(
78 StringRef Element(llvm::sys::path::filename(
113 StringRef Element(llvm::sys::path::filename(FileName.drop_back(
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 272 stripExecutableExtension(llvm::sys::path::filename(Args.front()));
tools/clang/tools/arcmt-test/arcmt-test.cpp 268 It = resultMap.find(sys::path::filename(inputOrigFname));
312 OS << llvm::sys::path::filename(PL.getFilename());
324 OS << llvm::sys::path::filename(PL.getFilename());
tools/clang/tools/driver/driver.cpp 292 if (llvm::sys::path::filename(InstalledPath) == InstalledPath)
294 llvm::sys::path::filename(InstalledPath.str())))
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp 49 if (filename(I->path())[0] == '.') {
93 if (filename(I->path())[0] == '.') {
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 278 llvm::sys::path::filename(FilePath));
293 llvm::sys::path::append(ScriptPath, llvm::sys::path::filename(FilePath));
456 HTMLTag::TAG_A, llvm::sys::path::filename(FileURL));
969 llvm::sys::path::append(PathWrite, llvm::sys::path::filename(FilePath));
977 llvm::sys::path::filename(FilePath) +
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp 71 OutputDir + "/" + llvm::sys::path::filename(FileName) + "-%%%%%%.yaml",
tools/clang/tools/extra/clang-move/Move.cpp 103 llvm::sys::path::filename(AbsolutePath.str()));
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp 37 llvm::sys::path::filename(SourceFile) + ".json")
tools/clang/tools/extra/clangd/Diagnostics.cpp 202 OS << llvm::sys::path::filename(D.File) << ":";
tools/clang/tools/extra/clangd/FSProvider.cpp 38 llvm::StringRef FileName = llvm::sys::path::filename(Path);
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 87 llvm::sys::path::filename(File), std::move(Argv),
tools/clang/tools/extra/clangd/SourceCode.cpp 661 llvm::sys::path::filename(FilePath));
tools/clang/tools/extra/clangd/TUScheduler.cpp 335 Tasks->runAsync("worker:" + llvm::sys::path::filename(FileName),
634 trace::Span Tracer(Name + ":" + llvm::sys::path::filename(FileName));
1004 PreambleTasks->runAsync("task:" + llvm::sys::path::filename(File),
tools/clang/tools/extra/clangd/XRefs.cpp 252 File.Name = llvm::sys::path::filename(Inc.Resolved);
tools/clang/tools/extra/clangd/index/Background.cpp 189 Path = llvm::sys::path::filename(Path);
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp 33 llvm::sys::path::append(ShardRootSS, llvm::sys::path::filename(FilePath) +
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp 912 ++CountStats[llvm::sys::path::filename(Path.str())];
916 ++CountStats[llvm::sys::path::filename(Path.str())];
1044 auto FileName = llvm::sys::path::filename(File);
tools/clang/tools/extra/clangd/unittests/TestFS.cpp 53 auto FileName = llvm::sys::path::filename(File);
tools/clang/tools/extra/modularize/Modularize.cpp 818 CommandLine = sys::path::stem(sys::path::filename(Argv0));
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp 278 if (llvm::sys::path::filename(DirName) == "Modules") {
tools/dsymutil/DeclContext.h 35 StringRef FileName = sys::path::filename(Path);
tools/dsymutil/SymbolMap.cpp 112 SymbolMapPath += (Twine("/") + sys::path::filename(InputFile) + "-" +
tools/dsymutil/dsymutil.cpp 430 sys::path::append(Path, "DWARF", sys::path::filename(DwarfFile));
tools/gold/gold-plugin.cpp 566 sys::path::filename(Obj->getSourceFileName()).str();
tools/lld/COFF/DLL.cpp 707 auto *dllName = make<StringChunk>(sys::path::filename(config->outputFile));
tools/lld/COFF/DebugTypes.cpp 142 sys::path::append(path, sys::path::filename(tSPath, sys::path::Style::windows));
tools/lld/COFF/Driver.cpp 444 visitedLibs.insert(sys::path::filename(path));
617 os << arg->getSpelling() << sys::path::filename(arg->getValue()) << "\n";
729 out.assign(sys::path::filename(config->outputFile));
958 sys::path::filename(config->pdbPath, sys::path::Style::windows);
tools/lld/COFF/InputFiles.cpp 53 return sys::path::filename(path, sys::path::Style::windows);
tools/lld/COFF/MinGW.cpp 106 StringRef libName = sys::path::filename(path);
139 StringRef libName = sys::path::filename(sym->getFile()->parentName);
146 StringRef fileName = sys::path::filename(sym->getFile()->getName());
tools/lld/COFF/PDB.cpp 521 StringRef currentFileName = sys::path::filename(f->getName());
557 SmallString<128> precompFileName = sys::path::filename(
tools/lld/Common/Args.cpp 81 return sys::path::filename(path);
tools/lld/ELF/Driver.cpp 258 make<SharedFile>(mbref, withLOption ? path::filename(path) : path));
1350 if (all || libs.count(path::filename(file->archiveName)))
tools/lld/ELF/DriverUtils.cpp 186 os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
tools/lld/ELF/InputFiles.cpp 224 std::string filename = path::filename(path);
tools/lld/ELF/OutputSections.cpp 396 s = sys::path::filename(s);
402 s = sys::path::filename(s);
tools/lld/tools/lld/lld.cpp 130 StringRef arg0 = path::filename(v[0]);
tools/lld/wasm/Driver.cpp 557 os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
tools/lld/wasm/SyntheticSections.cpp 67 writeStr(os, llvm::sys::path::filename(so->getName()), "so name");
tools/lldb/source/Commands/CommandCompletions.cpp 159 PartialItem = path::filename(CompletionBuffer);
187 auto Name = path::filename(Entry.path());
tools/lldb/source/Utility/FileSpec.cpp 222 llvm::StringRef filename = llvm::sys::path::filename(resolved, m_style);
441 return ConstString(llvm::sys::path::filename(current_path, m_style));
tools/lldb/source/Utility/Log.cpp 315 file = llvm::sys::path::filename(file).take_front(40);
tools/lldb/tools/driver/Driver.cpp 815 llvm::StringRef ToolName = llvm::sys::path::filename(argv[0]);
tools/llvm-ar/llvm-ar.cpp 505 : std::string(sys::path::filename(Path));
534 failIfError(sys::fs::openFileForWrite(sys::path::filename(Name), FD,
684 NMOrErr->MemberName = sys::path::filename(NMOrErr->MemberName);
tools/llvm-cov/SourceCoverageView.cpp 47 auto PathFilename = (sys::path::filename(Path) + "." + Extension).str();
tools/llvm-cvtres/llvm-cvtres.cpp 145 OutputFile = sys::path::filename(StringRef(InputFiles[0]));
tools/llvm-jitlink/llvm-jitlink-macho.cpp 78 auto FileName = sys::path::filename(G.getName());
tools/llvm-objcopy/COFF/COFFObjcopy.cpp 51 StringRef FileName = sys::path::filename(File);
tools/llvm-objcopy/ELF/Object.cpp 1001 FileName = sys::path::filename(File);
tools/llvm-objdump/MachODump.cpp 7350 SmallString<128> ShortName(llvm::sys::path::filename(DSYMPath));
tools/llvm-profdata/llvm-profdata.cpp 672 sys::path::filename(argv[0]) + " -help");
1114 errs() << sys::path::filename(argv[0])
1142 StringRef ProgName(sys::path::filename(argv[0]));
tools/llvm-rtdyld/llvm-rtdyld.cpp 794 (sys::path::filename(FilePath) + "/" + SectionName).str();
926 auto FileName = sys::path::filename(InputFile);
tools/llvm-xray/func-id-helper.cpp 71 F << sys::path::filename(DI.FileName).str() << ":" << DI.Line << ":"
tools/sancov/sancov.cpp 838 auto ShortFileName = llvm::sys::path::filename(FileName);
847 << "), filename: " << llvm::sys::path::filename(FileName) << "\n";
860 auto ShortFileName = llvm::sys::path::filename(FileName);
1070 auto ShortFileName = llvm::sys::path::filename(FileName);
1086 auto ShortFileName = llvm::sys::path::filename(FileName);
tools/sanstats/sanstats.cpp 60 std::string(llvm::sys::path::filename(Filename));
unittests/Support/Path.cpp 166 (void)path::filename(*i);
206 EXPECT_EQ("/", path::filename("/"));
209 EXPECT_EQ("\\", path::filename("c:\\", path::Style::windows));
212 EXPECT_EQ("/", path::filename("///"));
215 EXPECT_EQ("\\", path::filename("c:\\\\", path::Style::windows));
218 EXPECT_EQ("bar", path::filename("/foo/bar"));
221 EXPECT_EQ("foo", path::filename("/foo"));
224 EXPECT_EQ("foo", path::filename("foo"));
227 EXPECT_EQ(".", path::filename("foo/"));
230 EXPECT_EQ("//net", path::filename("//net"));
233 EXPECT_EQ("/", path::filename("//net/"));
236 EXPECT_EQ("foo", path::filename("//net/foo"));
243 EXPECT_EQ("/", path::filename("//"));
246 EXPECT_EQ("\\", path::filename("\\\\", path::Style::windows));
249 EXPECT_EQ("\\", path::filename("\\\\\\", path::Style::windows));
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()));
unittests/Support/VirtualFileSystemTest.cpp 582 StatResults[sys::path::filename(I->path())] =