[Lldb-commits] [PATCH] Remove uuid_t constructor for lldb_private::UUID

Eli Friedman eli.friedman at gmail.com
Wed Jun 9 18:57:53 PDT 2010


Per subject; attached.  I'd like someone with a Mac to check whether
this breaks the build.

-Eli
-------------- next part --------------
Index: include/lldb/Core/UUID.h
===================================================================
--- include/lldb/Core/UUID.h	(revision 105756)
+++ include/lldb/Core/UUID.h	(working copy)
@@ -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 ();
 
Index: source/Core/UUID.cpp
===================================================================
--- source/Core/UUID.cpp	(revision 105756)
+++ source/Core/UUID.cpp	(working copy)
@@ -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