Zhongxing Xu | c669497 | 2008-08-27 14:03:33 +0000 | [diff] [blame] | 1 | #ifndef CONSTRAINT_MANAGER_H |
| 2 | #define CONSTRAINT_MANAGER_H |
| 3 | |
| 4 | namespace clang { |
| 5 | |
| 6 | class GRState; |
| 7 | class GRStateManager; |
| 8 | class RVal; |
| 9 | |
| 10 | class ConstraintManager { |
| 11 | public: |
Ted Kremenek | 8904fbe | 2008-08-27 23:13:01 +0000 | [diff] [blame^] | 12 | virtual ~ConstraintManager(); |
Zhongxing Xu | c669497 | 2008-08-27 14:03:33 +0000 | [diff] [blame] | 13 | virtual const GRState* Assume(const GRState* St, RVal Cond, bool Assumption, |
| 14 | bool& isFeasible) = 0; |
| 15 | }; |
| 16 | |
| 17 | ConstraintManager* CreateBasicConstraintManager(GRStateManager& statemgr); |
| 18 | |
| 19 | } // end clang namespace |
| 20 | |
| 21 | #endif |