Lines Matching defs:VFS

159                                   llvm::vfs::FileSystem *VFS,
168 auto FileStatus = VFS->status(FilePath);
175 auto MPathStatus = VFS->status(MPath);
180 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile));
191 auto MPathStatus = VFS->status(MPath);
205 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile));
807 bool UserFilesAreVolatile, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
823 AST->FileMgr = new FileManager(FileSystemOpts, VFS);
1145 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1149 if (VFS && FileMgr)
1150 assert(VFS == &FileMgr->getVirtualFileSystem() &&
1151 "VFS passed to Parse and VFS in FileMgr are different");
1157 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get());
1158 // VFS may have changed...
1179 // Ensure that Clang has a FileManager with the right VFS, which may have
1180 // changed above in AddImplicitPreamble. If VFS is nullptr, rely on
1182 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS)
1185 FileMgr = Clang->createFileManager(std::move(VFS));
1342 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild,
1347 getBufferForFileHandlingRemapping(PreambleInvocationIn, VFS.get(),
1359 *VFS)) {
1415 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS,
1536 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
1541 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS);
1690 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1694 assert(VFS && "VFS is null");
1706 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1718 return Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS);
1771 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1774 // If no VFS was provided, create one that tracks the physical file system.
1776 // set this as the current working directory of the VFS.
1777 if (!VFS)
1778 VFS = llvm::vfs::createPhysicalFileSystem();
1789 CIOpts.VFS = VFS;
1825 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS);
1826 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS);
1851 VFS)) {
1866 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
1870 if (!VFS) {
1872 VFS = &FileMgr->getVirtualFileSystem();
1896 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1907 Parse(std::move(PCHContainerOps), std::move(OverrideMainBuffer), VFS);
2307 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
2309 Preamble->AddImplicitPreamble(Clang->getInvocation(), VFS,
2311 // FIXME: there is no way to update VFS if it was changed by
2313 // We use on-disk preambles instead and rely on FileMgr's VFS to ensure the