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()
1100 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1104 if (VFS && FileMgr) in Parse()
1105 assert(VFS == &FileMgr->getVirtualFileSystem() && in Parse()
1112 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1136 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1139 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1297 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1302 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1314 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1370 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1489 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1494 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1643 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1647 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1659 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1671 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1723 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1735 llvm::makeArrayRef(ArgBegin, ArgEnd), Diags, VFS); in LoadFromCommandLine()
1769 if (!VFS) in LoadFromCommandLine()
1770 VFS = llvm::vfs::getRealFileSystem(); in LoadFromCommandLine()
1771 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
1772 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in LoadFromCommandLine()
1795 VFS)) { in LoadFromCommandLine()
1810 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Reparse() argument
1814 if (!VFS) { in Reparse()
1816 VFS = &FileMgr->getVirtualFileSystem(); in Reparse()
1840 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1851 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in Reparse()
2246 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in CodeComplete() local
2248 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()