forked from OSchip/llvm-project
[clang][dataflow] Fix broken build in ClangStaticAnalyzer
Adds a missing virtual destructor.
This commit is contained in:
parent
7f7103cd06
commit
3e32f827e2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue