Skip to content

Commit 3674a06

Browse files
author
walter erquinigo
committed
[NFC][LLDB] Remove an unnecessary virtual destructor
DWARFExpression has a virtual destructor but no other virtual methods, so we can safely remove the virtual keyword.
1 parent 07e7159 commit 3674a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/include/lldb/Expression/DWARFExpression.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DWARFExpression {
4545
DWARFExpression(const DataExtractor &data);
4646

4747
/// Destructor
48-
virtual ~DWARFExpression();
48+
~DWARFExpression();
4949

5050
/// Return true if the location expression contains data
5151
bool IsValid() const;

0 commit comments

Comments
 (0)