Index: lldb/include/lldb/Target/Platform.h =================================================================== --- lldb/include/lldb/Target/Platform.h +++ lldb/include/lldb/Target/Platform.h @@ -73,11 +73,9 @@ /// Default Constructor Platform(bool is_host_platform); - /// Destructor. - /// /// The destructor is virtual since this class is designed to be inherited /// from by the plug-in instance. - ~Platform() override; + ~Platform() override = default; static void Initialize(); Index: lldb/source/Target/Platform.cpp =================================================================== --- lldb/source/Target/Platform.cpp +++ lldb/source/Target/Platform.cpp @@ -395,15 +395,6 @@ LLDB_LOGF(log, "%p Platform::Platform()", static_cast(this)); } -/// Destructor. -/// -/// The destructor is virtual since this class is designed to be -/// inherited from by the plug-in instance. -Platform::~Platform() { - Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_OBJECT)); - LLDB_LOGF(log, "%p Platform::~Platform()", static_cast(this)); -} - void Platform::GetStatus(Stream &strm) { std::string s; strm.Printf(" Platform: %s\n", GetPluginName().GetCString());