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

Declarations

include/llvm/Support/VirtualFileSystem.h
  258   getBufferForFile(const Twine &Name, int64_t FileSize = -1,

References

tools/clang/lib/Basic/FileManager.cpp
  482     return FS->getBufferForFile(Filename, FileSize,
  487   return FS->getBufferForFile(FilePath, FileSize,
tools/clang/lib/Driver/DarwinSDKInfo.cpp
   23       VFS.getBufferForFile(Filepath);
tools/clang/lib/Driver/Distro.cpp
   22       VFS.getBufferForFile("/etc/lsb-release");
   60   File = VFS.getBufferForFile("/etc/redhat-release");
   78   File = VFS.getBufferForFile("/etc/debian_version");
  113   File = VFS.getBufferForFile("/etc/SuSE-release");
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  156         FS.getBufferForFile(InstallPath + "/version.txt");
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2436       D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/config-" +
 2448           D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/" +
tools/clang/lib/Format/Format.cpp
 2632           FS->getBufferForFile(ConfigFile.str());
tools/clang/lib/Frontend/ASTUnit.cpp
  180           BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile));
  205     BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile));
tools/clang/lib/Frontend/CompilerInvocation.cpp
 3702         Result->getBufferForFile(File);
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  737     auto Buf = RealFS->getBufferForFile(PCHPath);
tools/clang/lib/StaticAnalyzer/Checkers/Yaml.h
   34       FS->getBufferForFile(ConfigFile.str());
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  311       BaseFS->getBufferForFile(OverlayFile);
tools/clang/tools/extra/clangd/index/Background.cpp
  125   auto Buf = FS->getBufferForFile(LS.AbsolutePath);
  349   auto Buf = FS->getBufferForFile(AbsolutePath);
tools/lldb/include/lldb/Utility/Reproducer.h
  308         llvm::vfs::getRealFileSystem()->getBufferForFile(file.GetPath());
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  254           vfs::getRealFileSystem()->getBufferForFile(vfs_mapping.GetPath());
tools/lldb/source/Host/common/FileSystem.cpp
   61       llvm::vfs::getRealFileSystem()->getBufferForFile(mapping.GetPath());
unittests/Support/VirtualFileSystemTest.cpp
  523   auto BBuf = BFS->getBufferForFile("bb");
  527   auto ABuf = CFS->getBufferForFile("aa");
 1237   EXPECT_TRUE(FS.getBufferForFile(FromLink)->get()->getBuffer() ==
 1238               FS.getBufferForFile(Target)->get()->getBuffer());