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

Declarations

tools/clang/include/clang/Basic/FileManager.h
  323   getFile(StringRef Filename, bool OpenFile = false, bool CacheFailure = true);

References

tools/clang/lib/ARCMigrate/FileRemapper.cpp
   81     llvm::ErrorOr<const FileEntry *> origFE = FileMgr->getFile(fromFilename);
   87     llvm::ErrorOr<const FileEntry *> newFE = FileMgr->getFile(toFilename);
  155       auto newE = FileMgr->getFile(tempPath);
  230   if (auto fileOrErr = FileMgr->getFile(filePath))
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2144         auto FE = FileMgr.getFile(Val);
tools/clang/lib/AST/ASTImporter.cpp
 8458             ToFileManager.getFile(Cache->OrigEntry->getName());
tools/clang/lib/Basic/Module.cpp
  249       if (auto FE = FileMgr.getFile(*I))
tools/clang/lib/Basic/SourceManager.cpp
 2189   FileID ID = SourceMgr->createFileID(*FileMgr->getFile(FileName),
tools/clang/lib/CodeGen/CodeGenAction.cpp
  571       auto FE = FileMgr.getFile(Filename);
  573         FE = FileMgr.getFile(D.getAbsolutePath());
tools/clang/lib/Frontend/ASTUnit.cpp
 2368     auto FE = FileMgr.getFile(SD.Filename);
tools/clang/lib/Frontend/CompilerInstance.cpp
  354     auto ToFile = FileMgr.getFile(RF.second);
  571   auto Entry = PP.getFileManager().getFile(Filename);
 1177   if (auto FE = FileMgr.getFile(PublicFilename))
 1745         auto ModuleFile = FileMgr->getFile(ModuleFileName);
tools/clang/lib/Frontend/FrontendAction.cpp
  374       auto Header = FileMgr.getFile(Dir->path());
  486         CI.getFileManager().getFile(OriginalModuleMapName,
  678     if (auto FE = CI.getFileManager().getFile(F, /*openFile*/true))
  796     if (auto File = CI.getFileManager().getFile(Filename))
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  167     if (auto FE = FM.getFile(MappedPathStr)) {
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
   93       if (FileMgr->getFile(AltHeaderFilename))
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  372     auto FileOrErr = Clang->getFileManager().getFile(Filename);
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  215     auto File = CI.getFileManager().getFile(Filename);
tools/clang/lib/Lex/HeaderSearch.cpp
  161     if (getFileMgr().getFile(Result.str()))
 1470   if (auto File = FileMgr.getFile(PrivateFilename))
 1562   if (auto F = FileMgr.getFile(ModuleMapFileName))
 1568   if (auto F = FileMgr.getFile(ModuleMapFileName))
tools/clang/lib/Lex/ModuleMap.cpp
  182     auto File = SourceMgr.getFileManager().getFile(Filename);
  303   auto File = SourceMgr.getFileManager().getFile(Path);
  901     if (FileMgr.getFile(LibName)) {
  995   auto UmbrellaHeader = FileMgr.getFile(UmbrellaName);
 2142   if (auto File = SourceMgr.getFileManager().getFile(FileNameRef))
 2424       if (auto FE = SourceMgr.getFileManager().getFile(I->path())) {
tools/clang/lib/Lex/PPLexerChange.cpp
  290     if (auto Header = getFileManager().getFile(Entry->path()))
tools/clang/lib/Serialization/ASTReader.cpp
 1833       if (auto File = FileMgr.getFile(Key.Filename))
 1840     if (auto File = FileMgr.getFile(Resolved))
 1919     Module::Header H = { key.Filename, *FileMgr.getFile(Filename) };
 2301   if (auto FE = FileMgr.getFile(Filename, /*OpenFile=*/false))
 2311       if (auto FE = FileMgr.getFile(Resolved))
 3907     auto StoredModMap = FileMgr.getFile(F.ModuleMapPath);
 3924       auto F = FileMgr.getFile(Filename, false, false);
 5530       if (auto Umbrella = PP.getFileManager().getFile(Filename)) {
 5961       if (auto FE = PP.getFileManager().getFile(FullFileName))
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  662           = FileMgr.getFile(ImportedFile, /*OpenFile=*/false,
  898     auto ModuleFile = FileMgr.getFile(D->path());
tools/clang/lib/Serialization/ModuleManager.cpp
   45   auto Entry = FileMgr.getFile(Name, /*OpenFile=*/false,
   71   auto Entry = FileMgr.getFile(Name, /*OpenFile=*/false,
  445   auto FileOrErr = FileMgr.getFile(FileName, /*OpenFile=*/true, 
tools/clang/lib/Tooling/Core/Replacement.cpp
   70   auto Entry = SM.getFileManager().getFile(FilePath);
  594   FileID ID = SourceMgr.createFileID(*Files.getFile("<stdin>"),
  617     auto FE = FileMgr.getFile(Entry.first);
tools/clang/lib/Tooling/Refactoring.cpp
   82     if (auto File = Files.getFile(FilePath))
tools/clang/tools/clang-format/ClangFormat.cpp
  169   auto File = Files.getFile(FileName);
  315       FileMgr.getFile(AssumedFileName);
tools/clang/tools/clang-import-test/clang-import-test.cpp
  287   auto FE = CI.getFileManager().getFile(Path);
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  119     auto FE = SM.getFileManager().getFile(Range.FileName);
tools/clang/tools/clang-refactor/TestSupport.cpp
   44   auto FE = SM.getFileManager().getFile(Filename);
tools/clang/tools/clang-rename/ClangRename.cpp
  225       auto Entry = FileMgr.getFile(File);
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
  154     if (auto Entry = SM.getFileManager().getFile(R.getFilePath())) {
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
  150         const auto Entry = FileMgr.getFile(*I);
  168     const auto Entry = FileMgr.getFile(File);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  309   auto Entry = SourceManager.getFileManager().getFile(StrippedInclude);
tools/clang/tools/extra/clang-move/Move.cpp
  845   auto FE = SM.getFileManager().getFile(makeAbsolutePath(OldFile));
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  194         const auto Entry = FileMgr.getFile(*I);
tools/clang/tools/extra/clang-reorder-fields/tool/ClangReorderFields.cpp
   81     auto Entry = FileMgr.getFile(File);
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  241     auto File = SourceMgr.getFileManager().getFile(FilePath);
tools/clang/tools/extra/clangd/ParsedAST.cpp
  167         if (auto FE = SM.getFileManager().getFile(Inc.Resolved))
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
   59   if (auto File = SM.getFileManager().getFile(Path)) {
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
   68     auto FID = SM.createFileID(*FM.getFile(Path), SourceLocation(),
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  262     SourceMgr->getFileManager().getFile(InputPath);
tools/clang/tools/libclang/CIndex.cpp
 4253   auto File = FMgr.getFile(file_name);
tools/clang/tools/libclang/Indexing.cpp
  352       auto File = CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude);
  702   else if (auto MainFile = FileMgr.getFile(Unit->getOriginalSourceFileName()))
tools/clang/unittests/Basic/FileManagerTest.cpp
  153   auto file = manager.getFile("/tmp/test");
  178   auto file = manager.getFile("virtual/dir/bar.h");
  199   auto fileFoo = manager.getFile("foo.cpp");
  200   auto fileBar = manager.getFile("bar.cpp");
  221   auto file = manager.getFile("xyz.txt");
  225   auto readingDirAsFile = manager.getFile("MyDirectory");
  247   auto f1 = manager.getFile("abc/foo.cpp");
  248   auto f2 = manager.getFile("abc/bar.cpp");
  267   auto f1 = manager.getFile("abc/foo.cpp");
  268   auto f2 = manager.getFile("abc/bar.cpp");
  294   auto file2 = manager.getFile("c:/tmp/test", 100, 1);
  391   auto file = Manager.getFile("/tmp/test", /*OpenFile=*/false);
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   71   ASSERT_TRUE(Instance.getFileManager().getFile("vfs-virtual.file"));
tools/clang/unittests/Tooling/RefactoringTest.cpp
  611     auto File = Context.Files.getFile(Path);
tools/clang/unittests/Tooling/RewriterTestContext.h
   59     auto Entry = Files.getFile(Name);
   76     auto File = Files.getFile(Path);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  923                   m_compiler->getFileManager().getFile(result_path)) {