aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-02 17:34:17 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-02 17:34:17 +0000
commit12950118c9b3820a8f0caaede98ab0b0d6a99b66 (patch)
tree36937499038668955f57e3a9d4d6c5b8a3484bb4
parentd7c2b798be21004c628404711beedf315690539b (diff)
downloadllvm-12950118c9b3820a8f0caaede98ab0b0d6a99b66.zip
llvm-12950118c9b3820a8f0caaede98ab0b0d6a99b66.tar.gz
llvm-12950118c9b3820a8f0caaede98ab0b0d6a99b66.tar.bz2
[FileSystem] Remove `SetFileSystem` method.
This is no longer relevant with the new way we initialize the FileSystem. llvm-svn: 346003
-rw-r--r--lldb/include/lldb/Host/FileSystem.h3
-rw-r--r--lldb/source/Host/common/FileSystem.cpp4
2 files changed, 0 insertions, 7 deletions
diff --git a/lldb/include/lldb/Host/FileSystem.h b/lldb/include/lldb/Host/FileSystem.h
index 269df10..dc733d7 100644
--- a/lldb/include/lldb/Host/FileSystem.h
+++ b/lldb/include/lldb/Host/FileSystem.h
@@ -124,9 +124,6 @@ public:
std::error_code GetRealPath(const llvm::Twine &path,
llvm::SmallVectorImpl<char> &output) const;
-protected:
- void SetFileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
-
private:
static llvm::Optional<FileSystem> &InstanceImpl();
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
diff --git a/lldb/source/Host/common/FileSystem.cpp b/lldb/source/Host/common/FileSystem.cpp
index 73e74c1..72aaba3 100644
--- a/lldb/source/Host/common/FileSystem.cpp
+++ b/lldb/source/Host/common/FileSystem.cpp
@@ -47,10 +47,6 @@ Optional<FileSystem> &FileSystem::InstanceImpl() {
return g_fs;
}
-void FileSystem::SetFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> fs) {
- m_fs = fs;
-}
-
sys::TimePoint<>
FileSystem::GetModificationTime(const FileSpec &file_spec) const {
return GetModificationTime(file_spec.GetPath());