[Lldb-commits] [lldb] 66c4880 - Remove unused/misnamed SetObjectModificationTime

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 25 14:58:45 PDT 2020


Author: Dave Lee
Date: 2020-08-25T14:49:34-07:00
New Revision: 66c48802918d90e6a90d4f8da9c10889d5bc20dd

URL: https://github.com/llvm/llvm-project/commit/66c48802918d90e6a90d4f8da9c10889d5bc20dd
DIFF: https://github.com/llvm/llvm-project/commit/66c48802918d90e6a90d4f8da9c10889d5bc20dd.diff

LOG: Remove unused/misnamed SetObjectModificationTime

Remove `SetObjectModificationTime` which is not currently used, and assigns to the wrong member.

Differential Revision: https://reviews.llvm.org/D86493

Added: 
    

Modified: 
    lldb/include/lldb/Core/Module.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Core/Module.h b/lldb/include/lldb/Core/Module.h
index 8bd70ab16b5a..9eb7477730c1 100644
--- a/lldb/include/lldb/Core/Module.h
+++ b/lldb/include/lldb/Core/Module.h
@@ -506,10 +506,6 @@ class Module : public std::enable_shared_from_this<Module>,
     return m_object_mod_time;
   }
 
-  void SetObjectModificationTime(const llvm::sys::TimePoint<> &mod_time) {
-    m_mod_time = mod_time;
-  }
-
   /// This callback will be called by SymbolFile implementations when
   /// parsing a compile unit that contains SDK information.
   /// \param sysroot will be added to the path remapping dictionary.


        


More information about the lldb-commits mailing list