Skip to content

Commit 66e8398

Browse files
[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]
1 parent 697b34f commit 66e8398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/include/lldb/Symbol/Function.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ using CallSiteParameterArray = llvm::SmallVector<CallSiteParameter, 0>;
267267
class CallEdge {
268268
public:
269269
enum class AddrType : uint8_t { Call, AfterCall };
270-
~CallEdge();
270+
virtual ~CallEdge();
271271

272272
/// Get the callee's definition.
273273
///

0 commit comments

Comments
 (0)