[Lldb-commits] [PATCH] D57272: Remove unimplemented function

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 25 17:25:29 PST 2019


aprantl created this revision.
aprantl added reviewers: jasonmolenda, jingham.

Looks like this was an unintended sideeffect of r124250.


https://reviews.llvm.org/D57272

Files:
  source/Symbol/Type.cpp


Index: source/Symbol/Type.cpp
===================================================================
--- source/Symbol/Type.cpp
+++ source/Symbol/Type.cpp
@@ -138,12 +138,6 @@
       m_byte_size(rhs.m_byte_size), m_decl(rhs.m_decl),
       m_compiler_type(rhs.m_compiler_type), m_flags(rhs.m_flags) {}
 
-const Type &Type::operator=(const Type &rhs) {
-  if (this != &rhs) {
-  }
-  return *this;
-}
-
 void Type::GetDescription(Stream *s, lldb::DescriptionLevel level,
                           bool show_name) {
   *s << "id = " << (const UserID &)*this;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57272.183669.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190126/77c8608c/attachment.bin>


More information about the lldb-commits mailing list