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

Declarations

include/llvm/Support/Path.h
  319 StringRef stem(StringRef path, Style style = Style::native);

References

lib/Support/Path.cpp
  653   return !stem(p, style).empty();
tools/clang/lib/Driver/ToolChain.cpp
  169   std::string ProgName = llvm::sys::path::stem(Argv0);
tools/clang/lib/Driver/ToolChains/Clang.cpp
 5140         F = llvm::sys::path::stem(Input.getBaseInput());
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  822     SmallString<128> F(llvm::sys::path::stem(Input.getBaseInput()));
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
   51       llvm::sys::path::stem(Exec).equals_lower("ld.lld")) {
tools/clang/lib/Driver/ToolChains/HIP.cpp
  242   std::string Prefix = llvm::sys::path::stem(Inputs[0].getFilename()).str();
tools/clang/lib/Lex/HeaderSearch.cpp
  471       SubmodulePath.push_back(llvm::sys::path::stem(DirName));
 1445     StringRef ModuleName = llvm::sys::path::stem(TopFrameworkDir->getName());
 1656           loadFrameworkModule(llvm::sys::path::stem(Dir->path()), *FrameworkDir,
tools/clang/lib/Lex/ModuleMap.cpp
  617             llvm::sys::path::stem(SkippedDirs[I-1]->getName()), NameBuf);
  635                          llvm::sys::path::stem(File->getName()), NameBuf);
  731                              llvm::sys::path::stem(SkippedDirs[I-1]->getName()),
  743                            llvm::sys::path::stem(Header->getName()),
  930       llvm::sys::path::stem(FrameworkDirName), ModuleNameStorage);
  970           StringRef Name = llvm::sys::path::stem(FrameworkDirName);
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  227       StringRef ModuleName = llvm::sys::path::stem(Modules[ID].FileName);
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  180   FileStem = llvm::sys::path::stem(FileName);
  220       llvm::sys::path::stem(IncludeName.drop_front(1).drop_back(1));
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  248            llvm::sys::path::stem(CmdLine.front()).endswith_lower("cl");
  331       Stems.emplace_back(sys::path::stem(Path), I);
  381     StringRef Stem = sys::path::stem(Filename);
tools/clang/tools/arcmt-test/arcmt-test.cpp
  237     resultMap[sys::path::stem(fname)] = fname;
tools/clang/tools/driver/driver.cpp
  263   StringRef ExeBasename(llvm::sys::path::stem(Path));
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  598       StringRef FileIndexStr = llvm::sys::path::stem(File);
tools/clang/tools/extra/modularize/Modularize.cpp
  818   CommandLine = sys::path::stem(sys::path::filename(Argv0));
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  200     std::string Stem = llvm::sys::path::stem(*I);
tools/dsymutil/dsymutil.cpp
  290       BI.IDStr = sys::path::stem(BundleID);
tools/lld/COFF/Driver.cpp
  107   return (sys::path::stem(path) + (config->dll ? ".dll" : ".exe")).str();
 1156         TarWriter::create(*path, sys::path::stem(*path));
tools/lld/Common/Args.cpp
   80     return sys::path::stem(path);
tools/lld/ELF/Driver.cpp
  456         TarWriter::create(path, path::stem(path));
tools/lld/wasm/Driver.cpp
  667         TarWriter::create(path, path::stem(path));
tools/lldb/source/Utility/FileSpec.cpp
  413   return ConstString(llvm::sys::path::stem(m_filename.GetStringRef(), m_style));
tools/llvm-ar/llvm-ar.cpp
 1171   Stem = sys::path::stem(ToolName);
tools/llvm-cov/gcov.cpp
   30     sys::path::append(CoverageFileStem, sys::path::stem(SourceFile));
   33     sys::path::append(CoverageFileStem, sys::path::stem(SourceFile));
tools/llvm-cov/llvm-cov.cpp
   63   if (sys::path::stem(argv[0]).endswith_lower("gcov"))
tools/llvm-objcopy/llvm-objcopy.cpp
  319   bool IsStrip = sys::path::stem(ToolName).contains("strip");
tools/llvm-readobj/llvm-readobj.cpp
  673   if (sys::path::stem(argv[0]).contains("readelf")) {
tools/llvm-symbolizer/llvm-symbolizer.cpp
  275   bool IsAddr2Line = sys::path::stem(argv[0]).contains("addr2line");
tools/polly/lib/Support/DumpModulePass.cpp
   57       auto Stem = sys::path::stem(ModuleName);
unittests/Support/Path.cpp
  168     (void)path::stem(*i);
  183     stem = path::stem(filename);