Rename succ_const_iterator to const_succ_iterator and
succ_const_range to const_succ_range for consistency with the
predecessor iterators, and the corresponding iterators in
MachineBasicBlock and clang::CFGBlock.
This naming seems to be the more prevalent and it also seemed more suitable, as it doesn't split the succ and iterator when defining a const iterator over SuccIterator.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sounds good - might be worth mentioning in the commit message which other types these names are being made consistent with. (did you pick the format to standardize on based on which was more prevalent, or which name you thought was more suitable even if it wasn't the most frequent?)