Skip to content

Commit

Permalink
[lldb] Fix a warning
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
kazutakahirata committed Sep 22, 2023
1 parent 697b34f commit 66e8398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/include/lldb/Symbol/Function.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 66e8398

Please sign in to comment.