[Lldb-commits] [lldb] r277351 - [lldb] Delete dead, infinitely-recursive code (NFC)
Vedant Kumar via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 1 09:37:43 PDT 2016
Author: vedantk
Date: Mon Aug 1 11:37:42 2016
New Revision: 277351
URL: http://llvm.org/viewvc/llvm-project?rev=277351&view=rev
Log:
[lldb] Delete dead, infinitely-recursive code (NFC)
Differential Revision: https://reviews.llvm.org/D22985
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/CFData.cpp
lldb/trunk/tools/debugserver/source/MacOSX/CFData.h
Modified: lldb/trunk/tools/debugserver/source/MacOSX/CFData.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/CFData.cpp?rev=277351&r1=277350&r2=277351&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/CFData.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/CFData.cpp Mon Aug 1 11:37:42 2016
@@ -32,17 +32,6 @@ CFData::CFData(const CFData& rhs) :
}
//----------------------------------------------------------------------
-// CFData copy constructor
-//----------------------------------------------------------------------
-CFData&
-CFData::operator=(const CFData& rhs)
-
-{
- *this = rhs;
- return *this;
-}
-
-//----------------------------------------------------------------------
// Destructor
//----------------------------------------------------------------------
CFData::~CFData()
Modified: lldb/trunk/tools/debugserver/source/MacOSX/CFData.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/CFData.h?rev=277351&r1=277350&r2=277351&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/CFData.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/CFData.h Mon Aug 1 11:37:42 2016
@@ -24,7 +24,6 @@ public:
//------------------------------------------------------------------
CFData(CFDataRef data = NULL);
CFData(const CFData& rhs);
- CFData& operator=(const CFData& rhs);
virtual ~CFData();
CFDataRef Serialize(CFPropertyListRef plist, CFPropertyListFormat format);
More information about the lldb-commits
mailing list