Lines Matching refs:VFS
56 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH() argument
63 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
404 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
407 assert(VFS && "VFS is null"); in Build()
470 VFS = in Build()
471 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
474 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
591 llvm::vfs::FileSystem &VFS) const { in CanReuse()
620 if (!moveOnNoError(VFS.status(R.second), Status)) { in CanReuse()
627 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
640 if (moveOnNoError(VFS.status(RB.first), Status)) in CanReuse()
646 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
662 if (!moveOnNoError(VFS.status(F.first()), Status)) { in CanReuse()
691 if (auto Status = VFS.status(F.getKey())) { in CanReuse()
700 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble() argument
703 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble()
707 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble() argument
710 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in OverridePreamble()
751 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble() argument
753 assert(VFS); in configurePreamble()
772 setupPreambleStorage(*Storage, PreprocessorOpts, VFS); in configurePreamble()
777 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage() argument
785 if (VFS == RealFS || VFS->exists(PCHPath)) in setupPreambleStorage()
797 VFS = createVFSOverlayForPreamblePCH(PCHPath, std::move(*Buf), VFS); in setupPreambleStorage()
807 VFS = createVFSOverlayForPreamblePCH(PCHPath, std::move(Buf), VFS); in setupPreambleStorage()