Rename testvfs to in-memory-vfs

This commit is contained in:
Ben Langmuir
2019-06-25 14:36:56 -07:00
committed by Marc Rasi
parent 205371c886
commit 0c2b6b63c7
2 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ UIdent UIdentVisitor::visitExtensionDecl(const ExtensionDecl *D) {
namespace {
/// A simple configurable FileSystemProvider, useful for tests that exercise
/// the FileSystemProvider code.
class TestFileSystemProvider: public SourceKit::FileSystemProvider {
class InMemoryFileSystemProvider: public SourceKit::FileSystemProvider {
/// Provides the real filesystem, overlayed with an InMemoryFileSystem that
/// contains specified files at specified locations.
/// \param Args The locations of the InMemoryFileSystem files, interleaved
@@ -246,7 +246,7 @@ SwiftLangSupport::SwiftLangSupport(SourceKit::Context &SKCtx)
CCCache->inMemory = llvm::make_unique<ide::CodeCompletionCache>();
// Provide a default file system provider.
setFileSystemProvider("testvfs", llvm::make_unique<TestFileSystemProvider>());
setFileSystemProvider("in-memory-vfs", llvm::make_unique<InMemoryFileSystemProvider>());
}
SwiftLangSupport::~SwiftLangSupport() {