Skip to content

Commit a070053

Browse files
authored
[clang][dataflow] Replace one remaining call to deprecated addToFlowCondition(). (#71547)
1 parent d199fd7 commit a070053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static Value *mergeDistinctValues(QualType Type, Value &Val1,
115115
auto &Expr2 = cast<BoolValue>(Val2).formula();
116116
auto &A = MergedEnv.arena();
117117
auto &MergedVal = A.makeAtomRef(A.makeAtom());
118-
MergedEnv.addToFlowCondition(
118+
MergedEnv.assume(
119119
A.makeOr(A.makeAnd(A.makeAtomRef(Env1.getFlowConditionToken()),
120120
A.makeEquals(MergedVal, Expr1)),
121121
A.makeAnd(A.makeAtomRef(Env2.getFlowConditionToken()),

0 commit comments

Comments
 (0)