Author: Yitzhak Mandelbaum Date: 2021-11-30T15:31:49Z New Revision: 3e32f827e2647b6fa8022cbc76eac384b3c4e2b4
URL: https://github.com/llvm/llvm-project/commit/3e32f827e2647b6fa8022cbc76eac384b3c4e2b4 DIFF: https://github.com/llvm/llvm-project/commit/3e32f827e2647b6fa8022cbc76eac384b3c4e2b4.diff LOG: [clang][dataflow] Fix broken build in ClangStaticAnalyzer Adds a missing virtual destructor. Added: Modified: clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h Removed: ################################################################################ diff --git a/clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h b/clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h index 21647411ef5bd..9448b911f4718 100644 --- a/clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h +++ b/clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits