Lines Matching refs:VFS

160                                   llvm::vfs::FileSystem *VFS,  in getBufferForFileHandlingRemapping()  argument
169 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
176 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
181 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
192 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
206 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
778 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in LoadFromASTFile() local
780 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1099 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1103 if (VFS && FileMgr) in Parse()
1104 assert(VFS == &FileMgr->getVirtualFileSystem() && in Parse()
1111 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1135 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1138 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1296 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1301 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1313 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1369 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1488 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1493 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1642 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1646 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1658 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1670 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1722 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1734 llvm::makeArrayRef(ArgBegin, ArgEnd), Diags, VFS); in LoadFromCommandLine()
1768 if (!VFS) in LoadFromCommandLine()
1769 VFS = llvm::vfs::getRealFileSystem(); in LoadFromCommandLine()
1770 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
1771 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in LoadFromCommandLine()
1794 VFS)) { in LoadFromCommandLine()
1809 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Reparse() argument
1813 if (!VFS) { in Reparse()
1815 VFS = &FileMgr->getVirtualFileSystem(); in Reparse()
1839 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1850 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in Reparse()
2245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in CodeComplete() local
2247 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()