[Lldb-commits] [lldb] r105780 - in /lldb/trunk: include/lldb/Core/UUID.h source/Core/UUID.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Jun 9 20:08:05 PDT 2010
Author: efriedma
Date: Wed Jun 9 22:08:05 2010
New Revision: 105780
URL: http://llvm.org/viewvc/llvm-project?rev=105780&view=rev
Log:
Remove unused uuid_t constructor for lldb_private::UUID.
Modified:
lldb/trunk/include/lldb/Core/UUID.h
lldb/trunk/source/Core/UUID.cpp
Modified: lldb/trunk/include/lldb/Core/UUID.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/UUID.h?rev=105780&r1=105779&r2=105780&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/UUID.h (original)
+++ lldb/trunk/include/lldb/Core/UUID.h Wed Jun 9 22:08:05 2010
@@ -30,7 +30,6 @@
UUID ();
UUID (const UUID& rhs);
UUID (const void *uuid_bytes, uint32_t num_uuid_bytes);
- UUID (const uuid_t *uuid);
~UUID ();
Modified: lldb/trunk/source/Core/UUID.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/UUID.cpp?rev=105780&r1=105779&r2=105780&view=diff
==============================================================================
--- lldb/trunk/source/Core/UUID.cpp (original)
+++ lldb/trunk/source/Core/UUID.cpp Wed Jun 9 22:08:05 2010
@@ -38,14 +38,6 @@
::bzero (m_uuid, sizeof(m_uuid));
}
-UUID::UUID (const uuid_t *uuid)
-{
- if (uuid)
- ::memcpy (m_uuid, uuid, sizeof (m_uuid));
- else
- ::bzero (m_uuid, sizeof(m_uuid));
-}
-
const UUID&
UUID::operator=(const UUID& rhs)
{
More information about the lldb-commits
mailing list