[clang][dataflow] Fix broken build in ClangStaticAnalyzer

Adds a missing virtual destructor.
This commit is contained in:
Yitzhak Mandelbaum 2021-11-30 15:29:20 +00:00
parent 7f7103cd06
commit 3e32f827e2
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ struct TypeErasedLattice {
/// Type-erased base class for dataflow analyses built on a single lattice type.
class TypeErasedDataflowAnalysis {
public:
virtual ~TypeErasedDataflowAnalysis() {}
/// Returns the `ASTContext` that is used by the analysis.
virtual ASTContext &getASTContext() = 0;