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

Declarations

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

References

lib/DebugInfo/DWARF/DWARFContext.cpp
  319   StringRef Extension = sys::path::extension(DObj->getFileName());
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
   95       auto file_extension = sys::path::extension(FileName);
lib/DebugInfo/Symbolize/Symbolize.cpp
  182   if (sys::path::extension(Path) != ".dSYM") {
lib/Support/Path.cpp
  660   return !extension(p, style).empty();
tools/clang/lib/ARCMigrate/FileRemapper.cpp
  146                                   path::extension(origFE->getName()).drop_front(), fd,
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2217                               path::extension(FE->getName()).drop_front(), FD,
tools/clang/lib/Driver/Driver.cpp
 2418                  llvm::sys::path::extension(FileName).drop_front()) !=
 2858                  llvm::sys::path::extension(FileName).drop_front()) !=
tools/clang/lib/Format/Format.cpp
 2552     auto Extension = llvm::sys::path::extension(FileName);
tools/clang/lib/Frontend/CompilerInstance.cpp
  756     StringRef OutputExtension = llvm::sys::path::extension(OutFile);
 1441       StringRef Extension = llvm::sys::path::extension(File->path());
tools/clang/lib/Frontend/FrontendAction.cpp
  369       if (!llvm::StringSwitch<bool>(llvm::sys::path::extension(Dir->path()))
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
   79       NewSuffix + llvm::sys::path::extension(Path));
   89                                        llvm::sys::path::extension(Filename).drop_front(), fd,
tools/clang/lib/Lex/HeaderSearch.cpp
  434   assert(llvm::sys::path::extension(DirName) == ".framework" &&
  470     if (llvm::sys::path::extension(DirName) == ".framework") {
  597       if (llvm::sys::path::extension(FrameworkPath) == ".framework") {
 1365                               llvm::sys::path::extension((*Dir)->getName()) ==
 1647           if (llvm::sys::path::extension(Dir->path()) != ".framework")
 1717     bool IsFramework = llvm::sys::path::extension(Dir->path()) == ".framework";
tools/clang/lib/Lex/PPLexerChange.cpp
  285     if (!StringSwitch<bool>(llvm::sys::path::extension(Entry->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")
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  131   StringRef Ext = llvm::sys::path::extension(Filename);
  145   StringRef Ext = llvm::sys::path::extension(Filename);
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
   95       types::lookupTypeForExtension(path::extension(Filename).substr(1));
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
   55     if (extension(I->path()) != ".yaml")
   99     if (extension(I->path()) != ".yaml")
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp
   61   StringRef extension = llvm::sys::path::extension(FileName);
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
   82   auto FileExtension = llvm::sys::path::extension(File);
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   25   llvm::StringRef PathExt = llvm::sys::path::extension(OriginalFile);
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  229       llvm::StringRef Ext = llvm::sys::path::extension(File).trim('.');
tools/clang/tools/extra/clangd/index/Background.cpp
  190   return Path.drop_back(llvm::sys::path::extension(Path).size());
  210       types::lookupTypeForExtension(llvm::sys::path::extension(Path).substr(1));
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  470   StringRef Extension = llvm::sys::path::extension(FileName);
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  100   std::string extension(llvm::sys::path::extension(Filename.str()));
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   84         llvm::sys::path::extension(EntryFile).substr(1))));
tools/dsymutil/DwarfLinker.cpp
 2256     bool isClangModule = sys::path::extension(Filename).equals(".pcm");
tools/dsymutil/dsymutil.cpp
  289     if (sys::path::extension(BundleRoot) == ".dSYM")
tools/lld/COFF/Driver.cpp
  960       sys::path::extension(config->outputFile, sys::path::Style::windows);
tools/lldb/source/Utility/FileSpec.cpp
  409       llvm::sys::path::extension(m_filename.GetStringRef(), m_style));
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  541       sys::path::extension(BundlePath) == ".dSYM") {
tools/llvm-objdump/MachODump.cpp
 7349           llvm::sys::path::extension(DSYMPath) == ".dSYM") {
tools/llvm-symbolizer/llvm-symbolizer.cpp
  304     if (sys::path::extension(hint) == ".dSYM") {
unittests/Support/Path.cpp
  170     (void)path::extension(*i);
  184     ext  = path::extension(filename);