[Lldb-commits] [lldb] 99c24f7 - [lldb/Interpreter] Pacify -Wnon-virtual-dtor

Benjamin Kramer via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 1 02:23:00 PST 2021


Author: Benjamin Kramer
Date: 2021-03-01T11:20:14+01:00
New Revision: 99c24f7aa8ccb84abde1672255439a2b2730ccc1

URL: https://github.com/llvm/llvm-project/commit/99c24f7aa8ccb84abde1672255439a2b2730ccc1
DIFF: https://github.com/llvm/llvm-project/commit/99c24f7aa8ccb84abde1672255439a2b2730ccc1.diff

LOG: [lldb/Interpreter] Pacify -Wnon-virtual-dtor

Added: 
    

Modified: 
    lldb/unittests/Interpreter/TestOptionValue.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Interpreter/TestOptionValue.cpp b/lldb/unittests/Interpreter/TestOptionValue.cpp
index a059b9c67eaa..b31422e0259b 100644
--- a/lldb/unittests/Interpreter/TestOptionValue.cpp
+++ b/lldb/unittests/Interpreter/TestOptionValue.cpp
@@ -14,6 +14,7 @@ using namespace lldb_private;
 
 class Callback {
 public:
+  virtual ~Callback() = default;
   virtual void Invoke() const {}
   void operator()() const { Invoke(); }
 };


        


More information about the lldb-commits mailing list