summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-15 11:23:54 +0000
committerFangrui Song <maskray@google.com>2019-05-15 11:23:54 +0000
commit71a44224e537a515dca6adc4fdac1675480bdf66 (patch)
treec82c468b1c68922fff5a45371b9af5c6a8d7415d /lldb/source/DataFormatters
parent9de9b5e950761cfeac936af9e9e9b2182bb1fffb (diff)
downloadbcm5719-llvm-71a44224e537a515dca6adc4fdac1675480bdf66.tar.gz
bcm5719-llvm-71a44224e537a515dca6adc4fdac1675480bdf66.zip
Delete unnecessary copy ctors/copy assignment operators
It's the simplest and gives the cleanest semantics. llvm-svn: 360762
Diffstat (limited to 'lldb/source/DataFormatters')
-rw-r--r--lldb/source/DataFormatters/TypeSummary.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lldb/source/DataFormatters/TypeSummary.cpp b/lldb/source/DataFormatters/TypeSummary.cpp
index 1a6496080d8..7f6930fdf41 100644
--- a/lldb/source/DataFormatters/TypeSummary.cpp
+++ b/lldb/source/DataFormatters/TypeSummary.cpp
@@ -29,16 +29,6 @@ using namespace lldb_private;
TypeSummaryOptions::TypeSummaryOptions()
: m_lang(eLanguageTypeUnknown), m_capping(eTypeSummaryCapped) {}
-TypeSummaryOptions::TypeSummaryOptions(const TypeSummaryOptions &rhs)
- : m_lang(rhs.m_lang), m_capping(rhs.m_capping) {}
-
-TypeSummaryOptions &TypeSummaryOptions::
-operator=(const TypeSummaryOptions &rhs) {
- m_lang = rhs.m_lang;
- m_capping = rhs.m_capping;
- return *this;
-}
-
lldb::LanguageType TypeSummaryOptions::GetLanguage() const { return m_lang; }
lldb::TypeSummaryCapping TypeSummaryOptions::GetCapping() const {
OpenPOWER on IntegriCloud