Skip to content

Commit 49f0070

Browse files
authored
[clang][dataflow] Remove deprecated synonyms from Environment. (#72987)
1 parent 5f7c8c1 commit 49f0070

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,6 @@ class Environment {
544544
/// Record a fact that must be true if this point in the program is reached.
545545
void assume(const Formula &);
546546

547-
/// Deprecated synonym for `assume()`.
548-
void addToFlowCondition(const Formula &F) { assume(F); }
549-
550547
/// Returns true if the formula is always true when this point is reached.
551548
/// Returns false if the formula may be false (or the flow condition isn't
552549
/// sufficiently precise to prove that it is true) or if the solver times out.
@@ -563,9 +560,6 @@ class Environment {
563560
/// (or the flow condition is overly constraining) or if the solver times out.
564561
bool allows(const Formula &) const;
565562

566-
/// Deprecated synonym for `proves()`.
567-
bool flowConditionImplies(const Formula &F) const { return proves(F); }
568-
569563
/// Returns the `DeclContext` of the block being analysed, if any. Otherwise,
570564
/// returns null.
571565
const DeclContext *getDeclCtx() const { return CallStack.back(); }

0 commit comments

Comments
 (0)