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

Declarations

tools/clang/include/clang/Basic/FileManager.h
  365   const FileEntry *getVirtualFile(StringRef Filename, off_t Size,

References

tools/clang/lib/Basic/FileManager.cpp
  344     return getVirtualFile(*Value.get<const StringRef *>(), Size,
tools/clang/lib/Frontend/CompilerInstance.cpp
  337         FileMgr.getVirtualFile(RB.first, RB.second->getBufferSize(), 0);
  362         FileMgr.getVirtualFile(RF.first, (*ToFile)->getSize(), 0);
  863             FileMgr.getVirtualFile(InputFile, (*MB)->getBufferSize(), 0);
  885     const FileEntry *File = FileMgr.getVirtualFile(SB->getBufferIdentifier(),
 1232       ModuleMapFile = Instance.getFileManager().getVirtualFile(
 2022     const FileEntry *ModuleMapFile = Other.getFileManager().getVirtualFile(
tools/clang/lib/Lex/HeaderSearch.cpp
 1493         auto *FakeFile = FileMgr.getVirtualFile(OriginalModuleMapFile, 0, 0);
tools/clang/lib/Serialization/ASTReader.cpp
 2318     File = FileMgr.getVirtualFile(Filename, StoredSize, StoredTime);
tools/clang/lib/Serialization/ModuleManager.cpp
  277       FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0);
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp
  346       TopDiags->FakeFiles.getVirtualFile(Name, Size, Timestamp);
tools/clang/unittests/Basic/FileManagerTest.cpp
   92   const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0);
   99   file = manager.getVirtualFile("x/y/z.cpp", 42, 0);
  125   manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
  177   manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
  219   manager.getVirtualFile("bar.cpp", 200, 0);
  264   ASSERT_TRUE(manager.getVirtualFile("abc/foo.cpp", 100, 0)->isValid());
  265   ASSERT_TRUE(manager.getVirtualFile("abc/bar.cpp", 200, 0)->isValid());
  287   const FileEntry *file1 = manager.getVirtualFile("c:\\tmp\\test", 123, 1);
  358   const FileEntry *file = Manager.getVirtualFile("/tmp/test", 123, 1);
  423   const FileEntry *File = Manager.getVirtualFile("/tmp/test", /*Size=*/10, 0);
tools/clang/unittests/Basic/SourceManagerTest.cpp
  169       FileMgr.getVirtualFile("/mainFile.cpp", Buf->getBufferSize(), 0);
  173       FileMgr.getVirtualFile("/test-header.h", HeaderBuf->getBufferSize(), 0);
  266   const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h",
  384   const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h",