diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-11 02:22:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-11 02:22:59 +0000 |
commit | 4e34f958f42abefd57dea9e4c13cc98bb9e292ab (patch) | |
tree | bb1eb0de34a537456f76ba45c2d1994959f06966 /clang/lib/Analysis/SimpleConstraintManager.cpp | |
parent | 39df18f6da323b145157fc33fb62187693835bb0 (diff) | |
download | bcm5719-llvm-4e34f958f42abefd57dea9e4c13cc98bb9e292ab.tar.gz bcm5719-llvm-4e34f958f42abefd57dea9e4c13cc98bb9e292ab.zip |
Added method "canReasonAbout" to ConstraintManager. This method returns true if
a ConstraintManager can usefully reason about the given SVal.
llvm-svn: 66624
Diffstat (limited to 'clang/lib/Analysis/SimpleConstraintManager.cpp')
-rw-r--r-- | clang/lib/Analysis/SimpleConstraintManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Analysis/SimpleConstraintManager.cpp b/clang/lib/Analysis/SimpleConstraintManager.cpp index c72f39c2fc2..82cc0bb7bc2 100644 --- a/clang/lib/Analysis/SimpleConstraintManager.cpp +++ b/clang/lib/Analysis/SimpleConstraintManager.cpp @@ -20,6 +20,10 @@ namespace clang { SimpleConstraintManager::~SimpleConstraintManager() {} +bool SimpleConstraintManager::canReasonAbout(SVal X) const { + return true; +} + const GRState* SimpleConstraintManager::Assume(const GRState* St, SVal Cond, bool Assumption, bool& isFeasible) { |