blob: 39e5918c1988255382b83d6034398d783e3c5491 [file] [log] [blame]
Zhongxing Xuc6694972008-08-27 14:03:33 +00001#ifndef CONSTRAINT_MANAGER_H
2#define CONSTRAINT_MANAGER_H
3
4namespace clang {
5
6class GRState;
7class GRStateManager;
8class RVal;
9
10class ConstraintManager {
11public:
Ted Kremenek8904fbe2008-08-27 23:13:01 +000012 virtual ~ConstraintManager();
Zhongxing Xuc6694972008-08-27 14:03:33 +000013 virtual const GRState* Assume(const GRState* St, RVal Cond, bool Assumption,
14 bool& isFeasible) = 0;
15};
16
17ConstraintManager* CreateBasicConstraintManager(GRStateManager& statemgr);
18
19} // end clang namespace
20
21#endif