[Lldb-commits] [lldb] 0ca8a59 - [lldb][NFC] Remove unused field Platform::m_remote_url (#118411)

via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 10:31:41 PST 2024


Author: Alex Langford
Date: 2024-12-03T10:31:38-08:00
New Revision: 0ca8a593e5da5d00100db8f735b4c4babeb36eb8

URL: https://github.com/llvm/llvm-project/commit/0ca8a593e5da5d00100db8f735b4c4babeb36eb8
DIFF: https://github.com/llvm/llvm-project/commit/0ca8a593e5da5d00100db8f735b4c4babeb36eb8.diff

LOG: [lldb][NFC] Remove unused field Platform::m_remote_url (#118411)

Related:
https://discourse.llvm.org/t/rfc-lldb-a-proposal-to-refactor-platform/82697

Added: 
    

Modified: 
    lldb/include/lldb/Target/Platform.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Target/Platform.h b/lldb/include/lldb/Target/Platform.h
index 920f80bc733174..f8a2cbf0d5d049 100644
--- a/lldb/include/lldb/Target/Platform.h
+++ b/lldb/include/lldb/Target/Platform.h
@@ -473,8 +473,6 @@ class Platform : public PluginInterface {
                       LLVM_PRETTY_FUNCTION, GetName()));
   }
 
-  const std::string &GetRemoteURL() const { return m_remote_url; }
-
   bool IsHost() const {
     return m_is_host; // Is this the default host platform?
   }
@@ -977,7 +975,6 @@ class Platform : public PluginInterface {
   std::string m_sdk_build;
   FileSpec m_working_dir; // The working directory which is used when installing
                           // modules that have no install path set
-  std::string m_remote_url;
   std::string m_hostname;
   llvm::VersionTuple m_os_version;
   ArchSpec


        


More information about the lldb-commits mailing list