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()
763 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument
779 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1097 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1101 if (VFS && FileMgr) in Parse()
1102 assert(VFS == &FileMgr->getVirtualFileSystem() && in Parse()
1109 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1133 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1136 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1294 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1299 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1311 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1367 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1486 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1491 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1640 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1644 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1656 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1668 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1720 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1732 CIOpts.VFS = 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()
2248 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in CodeComplete() local
2250 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()