Lines Matching defs:VFS
87 auto VFS = new llvm::vfs::InMemoryFileSystem();
88 VFS->setCurrentWorkingDirectory(CWD);
96 VFS->addFile(HeaderPath, 0, llvm::MemoryBuffer::getMemBuffer("\n"));
97 VFS->addHardLink(SymlinkPath, HeaderPath);
98 VFS->addFile(TestPath, 0,
103 VFS);
136 auto VFS = new llvm::vfs::InMemoryFileSystem();
137 VFS->setCurrentWorkingDirectory(CWD);
147 VFS->addFile(HeaderPath, 0,
149 VFS->addHardLink(SymlinkPath, HeaderPath);
150 VFS->addFile(TestPath, 0,
153 VFS->addFile(Test2Path, 0,
158 std::make_shared<PCHContainerOperations>(), VFS);
178 auto VFS = new llvm::vfs::InMemoryFileSystem();
179 VFS->setCurrentWorkingDirectory(CWD);
187 VFS->addFile(HeaderPath, 0, llvm::MemoryBuffer::getMemBuffer("\n"));
188 VFS->addHardLink(SymlinkPath, HeaderPath);
189 VFS->addFile(
195 std::make_shared<PCHContainerOperations>(), VFS);
220 auto VFS = new llvm::vfs::InMemoryFileSystem();
221 VFS->setCurrentWorkingDirectory(CWD);
227 VFS->addFile(HeaderPath, 0, llvm::MemoryBuffer::getMemBuffer("\n"));
228 VFS->addFile(TestPath, 0,
233 DependencyScanningTool ScanTool(Service, VFS);
258 auto VFS = new llvm::vfs::InMemoryFileSystem();
259 VFS->setCurrentWorkingDirectory(CWD);
265 VFS->addFile(OtherPath, 0, llvm::MemoryBuffer::getMemBuffer("\n"));
266 VFS->addFile(TestPath, 0, llvm::MemoryBuffer::getMemBuffer("@import Foo;\n"));
287 auto InterceptFS = llvm::makeIntrusiveRefCnt<InterceptorFS>(VFS);