Lines Matching refs:VFS
54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH() argument
61 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
239 assert(VFS && "VFS is null"); in Build()
312 VFS = in Build()
313 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
316 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
414 llvm::vfs::FileSystem *VFS) const { in CanReuse()
442 if (!moveOnNoError(VFS->status(R.second), Status)) { in CanReuse()
454 if (!moveOnNoError(VFS->status(RB.first), Status)) in CanReuse()
464 if (!moveOnNoError(VFS->status(F.first()), Status)) { in CanReuse()
489 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble() argument
492 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble()
496 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble() argument
499 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in OverridePreamble()
684 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble() argument
686 assert(VFS); in configurePreamble()
700 setupPreambleStorage(Storage, PreprocessorOpts, VFS); in configurePreamble()
705 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage() argument
714 if (VFS == RealFS || VFS->exists(PCHPath)) in setupPreambleStorage()
726 VFS = createVFSOverlayForPreamblePCH(PCHPath, std::move(*Buf), VFS); in setupPreambleStorage()
735 VFS = createVFSOverlayForPreamblePCH(PCHPath, std::move(Buf), VFS); in setupPreambleStorage()