Lines Matching refs:VFS
158 llvm::vfs::FileSystem *VFS, in getBufferForFileHandlingRemapping() argument
167 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
174 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
179 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
190 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
204 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
755 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in LoadFromASTFile() local
757 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1078 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1086 IntrusiveRefCntPtr<llvm::vfs::FileSystem> OldVFS = VFS; in Parse()
1087 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1088 if (OldVFS != VFS && FileMgr) { in Parse()
1091 FileMgr = new FileManager(FileMgr->getFileSystemOpts(), VFS); in Parse()
1098 if (FileMgr && VFS) { in Parse()
1099 assert(VFS == FileMgr->getVirtualFileSystem() && in Parse()
1101 } else if (VFS) { in Parse()
1102 Clang->setVirtualFileSystem(VFS); in Parse()
1283 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1288 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1301 VFS.get())) { in getMainBufferWithPrecompiledPreamble()
1355 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1472 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1477 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1634 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1638 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1650 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1662 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1713 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1725 llvm::makeArrayRef(ArgBegin, ArgEnd), Diags, VFS); in LoadFromCommandLine()
1757 if (!VFS) in LoadFromCommandLine()
1758 VFS = llvm::vfs::getRealFileSystem(); in LoadFromCommandLine()
1759 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
1760 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in LoadFromCommandLine()
1783 VFS)) { in LoadFromCommandLine()
1798 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Reparse() argument
1802 if (!VFS) { in Reparse()
1804 VFS = FileMgr->getVirtualFileSystem(); in Reparse()
1828 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1839 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in Reparse()
2218 auto VFS = FileMgr.getVirtualFileSystem(); in CodeComplete() local
2219 auto CompleteFileStatus = VFS->status(CompleteFilePath); in CodeComplete()
2224 auto MainStatus = VFS->status(MainPath); in CodeComplete()
2229 PCHContainerOps, Inv, VFS, false, Line - 1); in CodeComplete()
2240 auto VFS = FileMgr.getVirtualFileSystem(); in CodeComplete() local
2241 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()