Skip to content

Commit

Permalink
[clang][dataflow] Remove deprecated synonyms from Environment. (#72987
Browse files Browse the repository at this point in the history
)
  • Loading branch information
martinboehme committed Nov 21, 2023
1 parent 5f7c8c1 commit 49f0070
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,6 @@ class Environment {
/// Record a fact that must be true if this point in the program is reached.
void assume(const Formula &);

/// Deprecated synonym for `assume()`.
void addToFlowCondition(const Formula &F) { assume(F); }

/// Returns true if the formula is always true when this point is reached.
/// Returns false if the formula may be false (or the flow condition isn't
/// sufficiently precise to prove that it is true) or if the solver times out.
Expand All @@ -563,9 +560,6 @@ class Environment {
/// (or the flow condition is overly constraining) or if the solver times out.
bool allows(const Formula &) const;

/// Deprecated synonym for `proves()`.
bool flowConditionImplies(const Formula &F) const { return proves(F); }

/// Returns the `DeclContext` of the block being analysed, if any. Otherwise,
/// returns null.
const DeclContext *getDeclCtx() const { return CallStack.back(); }
Expand Down

0 comments on commit 49f0070

Please sign in to comment.