Lines Matching defs:VFS

159                                   llvm::vfs::FileSystem *VFS,
168 auto FileStatus = VFS->status(FilePath);
175 auto MPathStatus = VFS->status(MPath);
180 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile));
191 auto MPathStatus = VFS->status(MPath);
205 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile));
811 bool UserFilesAreVolatile, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
827 AST->FileMgr = new FileManager(FileSystemOpts, VFS);
1149 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1153 if (VFS && FileMgr)
1154 assert(VFS == &FileMgr->getVirtualFileSystem() &&
1155 "VFS passed to Parse and VFS in FileMgr are different");
1161 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get());
1162 // VFS may have changed...
1183 // Ensure that Clang has a FileManager with the right VFS, which may have
1184 // changed above in AddImplicitPreamble. If VFS is nullptr, rely on
1186 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS)
1189 FileMgr = Clang->createFileManager(std::move(VFS));
1346 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild,
1351 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(),
1363 *VFS)) {
1370 PreambleInvocationIn.getDiagnosticOpts(), *VFS);
1419 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS,
1540 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
1545 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS);
1695 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1699 assert(VFS && "VFS is null");
1706 *VFS);
1712 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1715 *VFS);
1725 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS);
1778 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1781 // If no VFS was provided, create one that tracks the physical file system.
1783 // set this as the current working directory of the VFS.
1784 if (!VFS)
1785 VFS = llvm::vfs::createPhysicalFileSystem();
1796 CIOpts.VFS = VFS;
1832 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS);
1833 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS);
1858 VFS)) {
1873 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1877 if (!VFS) {
1879 VFS = &FileMgr->getVirtualFileSystem();
1903 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1909 *VFS);
1915 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS);
2316 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
2318 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS,
2320 // FIXME: there is no way to update VFS if it was changed by
2322 // We use on-disk preambles instead and rely on FileMgr's VFS to ensure the