diff options
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ConstraintManager.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/ConstraintManager.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/ConstraintManager.h b/include/clang/Analysis/PathSensitive/ConstraintManager.h new file mode 100644 index 0000000000..0d8b56a9d7 --- /dev/null +++ b/include/clang/Analysis/PathSensitive/ConstraintManager.h @@ -0,0 +1,20 @@ +#ifndef CONSTRAINT_MANAGER_H +#define CONSTRAINT_MANAGER_H + +namespace clang { + +class GRState; +class GRStateManager; +class RVal; + +class ConstraintManager { +public: + virtual const GRState* Assume(const GRState* St, RVal Cond, bool Assumption, + bool& isFeasible) = 0; +}; + +ConstraintManager* CreateBasicConstraintManager(GRStateManager& statemgr); + +} // end clang namespace + +#endif |