forked from OSchip/llvm-project
Make the destructor of ConstraintManager virtual.
llvm-svn: 55448
This commit is contained in:
parent
5bc033b934
commit
b5ef37f28e
|
@ -9,6 +9,7 @@ class RVal;
|
|||
|
||||
class ConstraintManager {
|
||||
public:
|
||||
virtual ~ConstraintManager();
|
||||
virtual const GRState* Assume(const GRState* St, RVal Cond, bool Assumption,
|
||||
bool& isFeasible) = 0;
|
||||
};
|
||||
|
|
|
@ -13,11 +13,15 @@
|
|||
|
||||
#include "clang/Analysis/PathSensitive/GRStateTrait.h"
|
||||
#include "clang/Analysis/PathSensitive/GRState.h"
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
#include "clang/Analysis/PathSensitive/GRTransferFuncs.h"
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
using namespace clang;
|
||||
|
||||
// Give the vtable for ConstraintManager somewhere to live.
|
||||
ConstraintManager::~ConstraintManager() {}
|
||||
|
||||
GRStateManager::~GRStateManager() {
|
||||
for (std::vector<GRState::Printer*>::iterator I=Printers.begin(),
|
||||
E=Printers.end(); I!=E; ++I)
|
||||
|
|
Loading…
Reference in New Issue