summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
index a1f417516b0..3f6a98008ef 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
@@ -160,6 +160,8 @@ private:
template <typename ResultT = void>
class FPOProgramASTVisitor {
protected:
+ virtual ~FPOProgramASTVisitor() = default;
+
virtual ResultT Visit(FPOProgramNodeBinaryOp &binary,
FPOProgramNode *&ref) = 0;
virtual ResultT Visit(FPOProgramNodeUnaryOp &unary, FPOProgramNode *&ref) = 0;
OpenPOWER on IntegriCloud