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()
791 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument
807 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1125 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1129 if (VFS && FileMgr) in Parse()
1130 assert(VFS == &FileMgr->getVirtualFileSystem() && in Parse()
1137 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1161 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1164 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1322 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1327 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1339 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1395 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1514 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1519 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1668 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1672 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1684 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1696 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1748 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1760 CIOpts.VFS = VFS; in LoadFromCommandLine()
1796 if (!VFS) in LoadFromCommandLine()
1797 VFS = llvm::vfs::getRealFileSystem(); in LoadFromCommandLine()
1798 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
1799 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in LoadFromCommandLine()
1822 VFS)) { in LoadFromCommandLine()
1837 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Reparse() argument
1841 if (!VFS) { in Reparse()
1843 VFS = &FileMgr->getVirtualFileSystem(); in Reparse()
1867 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1878 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in Reparse()
2275 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in CodeComplete() local
2277 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()