Skip to content

Commit 4d4426e

Browse files
committed
Add the rename
1 parent 2c0bdae commit 4d4426e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎lib/forwardanalyzer.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,13 @@ namespace {
638638
analyzer->updateState(ifEnd->next());
639639
}
640640
elseBranch.traversal = this;
641-
return updatePastBranches({thenBranch, elseBranch}, conditional, ifEnd->next(), end, depth, split);
641+
return continueAfterBranches({thenBranch, elseBranch}, conditional, ifEnd->next(), end, depth, split);
642642
}
643643

644644
// The blocks of a branching statement were walked, each on a fork or on this traversal.
645-
// split: every path goes on to the end of the range on its own. Otherwise one path goes on
646-
// past the statement for all of them.
647-
Progress updatePastBranches(const std::vector<Branch>& branches, bool conditional, Token* next, const Token* end, int depth, bool split)
645+
// Decide which of the paths go on past the statement. split: every path goes on to the end
646+
// of the range on its own. Otherwise one path goes on for all of them.
647+
Progress continueAfterBranches(const std::vector<Branch>& branches, bool conditional, Token* next, const Token* end, int depth, bool split)
648648
{
649649
const Analyzer::Action action =
650650
std::accumulate(branches.cbegin(), branches.cend(), Analyzer::Action{}, [](Analyzer::Action a, const Branch& branch) {

0 commit comments

Comments
 (0)