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()
795 bool UserFilesAreVolatile, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument
811 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1133 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1137 if (VFS && FileMgr) in Parse()
1138 assert(VFS == &FileMgr->getVirtualFileSystem() && in Parse()
1145 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1170 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1173 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1330 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble() argument
1335 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(), in getMainBufferWithPrecompiledPreamble()
1347 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1403 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble()
1523 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in create() local
1528 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create()
1677 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCompilerInvocation() argument
1681 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1693 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1705 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in LoadFromCompilerInvocation()
1758 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromCommandLine() argument
1764 if (!VFS) in LoadFromCommandLine()
1765 VFS = llvm::vfs::createPhysicalFileSystem(); in LoadFromCommandLine()
1776 CIOpts.VFS = VFS; in LoadFromCommandLine()
1812 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
1813 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in LoadFromCommandLine()
1838 VFS)) { in LoadFromCommandLine()
1853 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Reparse() argument
1857 if (!VFS) { in Reparse()
1859 VFS = &FileMgr->getVirtualFileSystem(); in Reparse()
1883 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1894 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS); in Reparse()
2294 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in CodeComplete() local
2296 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS, in CodeComplete()