aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h1
-rw-r--r--lib/StaticAnalyzer/Core/SimpleConstraintManager.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h b/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
index 3f58a7cff3..f52ee2dc01 100644
--- a/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
+++ b/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
@@ -63,6 +63,7 @@ public:
virtual void EndPath(const ProgramState *state) {}
+protected:
/// canReasonAbout - Not all ConstraintManagers can accurately reason about
/// all SVal values. This method returns true if the ConstraintManager can
/// reasonably handle a given SVal value. This is typically queried by
diff --git a/lib/StaticAnalyzer/Core/SimpleConstraintManager.h b/lib/StaticAnalyzer/Core/SimpleConstraintManager.h
index 000af439fd..3d04c6eed0 100644
--- a/lib/StaticAnalyzer/Core/SimpleConstraintManager.h
+++ b/lib/StaticAnalyzer/Core/SimpleConstraintManager.h
@@ -31,8 +31,6 @@ public:
// Common implementation for the interface provided by ConstraintManager.
//===------------------------------------------------------------------===//
- bool canReasonAbout(SVal X) const;
-
const ProgramState *assume(const ProgramState *state, DefinedSVal Cond,
bool Assumption);
@@ -81,6 +79,8 @@ protected:
// Internal implementation.
//===------------------------------------------------------------------===//
+ bool canReasonAbout(SVal X) const;
+
const ProgramState *assumeAux(const ProgramState *state,
Loc Cond,
bool Assumption);