Author: Kazu Hirata Date: 2023-09-22T11:32:14-07:00 New Revision: 66e83983491415d7431067181fd2816305f615e0
URL: https://github.com/llvm/llvm-project/commit/66e83983491415d7431067181fd2816305f615e0 DIFF: https://github.com/llvm/llvm-project/commit/66e83983491415d7431067181fd2816305f615e0.diff LOG: [lldb] Fix a warning This patch fixes: lldb/include/lldb/Symbol/Function.h:270:3: error: 'lldb_private::CallEdge' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] Added: Modified: lldb/include/lldb/Symbol/Function.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Symbol/Function.h b/lldb/include/lldb/Symbol/Function.h index 0c1afd0ceb6f1f5..28afdbff1eb233e 100644 --- a/lldb/include/lldb/Symbol/Function.h +++ b/lldb/include/lldb/Symbol/Function.h @@ -267,7 +267,7 @@ using CallSiteParameterArray = llvm::SmallVector<CallSiteParameter, 0>; class CallEdge { public: enum class AddrType : uint8_t { Call, AfterCall }; - ~CallEdge(); + virtual ~CallEdge(); /// Get the callee's definition. /// _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits