Skip to content

Commit 3e32f82

Browse files
committed
[clang][dataflow] Fix broken build in ClangStaticAnalyzer
Adds a missing virtual destructor.
1 parent 7f7103c commit 3e32f82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ struct TypeErasedLattice {
4040
/// Type-erased base class for dataflow analyses built on a single lattice type.
4141
class TypeErasedDataflowAnalysis {
4242
public:
43+
virtual ~TypeErasedDataflowAnalysis() {}
44+
4345
/// Returns the `ASTContext` that is used by the analysis.
4446
virtual ASTContext &getASTContext() = 0;
4547

0 commit comments

Comments
 (0)