A virtual destructor is needed, since the derived classes are stored in
`iplist<PredicateBase> AllInfos;` and, apparently, ilist_node doesn't have a
virtual destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294443
91177308-0d34-0410-b5e6-
96231b3b80d8
PredicateBase(const PredicateBase &) = delete;
PredicateBase &operator=(const PredicateBase &) = delete;
PredicateBase() = delete;
+ virtual ~PredicateBase() = default;
protected:
PredicateBase(PredicateType PT, Value *Op, CmpInst *Comparison)