aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Host/common/XML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/XML.cpp')
-rw-r--r--lldb/source/Host/common/XML.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Host/common/XML.cpp b/lldb/source/Host/common/XML.cpp
index 456c879b0148..c3225d3f4433 100644
--- a/lldb/source/Host/common/XML.cpp
+++ b/lldb/source/Host/common/XML.cpp
@@ -17,7 +17,7 @@ using namespace lldb_private;
#pragma mark-- XMLDocument
-XMLDocument::XMLDocument() : m_document(nullptr) {}
+XMLDocument::XMLDocument() = default;
XMLDocument::~XMLDocument() { Clear(); }
@@ -91,11 +91,11 @@ bool XMLDocument::XMLEnabled() {
#pragma mark-- XMLNode
-XMLNode::XMLNode() : m_node(nullptr) {}
+XMLNode::XMLNode() = default;
XMLNode::XMLNode(XMLNodeImpl node) : m_node(node) {}
-XMLNode::~XMLNode() {}
+XMLNode::~XMLNode() = default;
void XMLNode::Clear() { m_node = nullptr; }
@@ -398,7 +398,7 @@ ApplePropertyList::ApplePropertyList(const char *path)
ParseFile(path);
}
-ApplePropertyList::~ApplePropertyList() {}
+ApplePropertyList::~ApplePropertyList() = default;
llvm::StringRef ApplePropertyList::GetErrors() const {
return m_xml_doc.GetErrors();