[PATCH] D131448: Introduce iterator sentinel to make graph traversal implementation more efficient and cleaner

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 12 09:52:30 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/include/llvm/ADT/iterator_range.h:50
+/// As of C++17, the types of the begin-expr and the end-expr do not have to be
+/// the same in 'based-range for loop'. This class represents a tag that should
+/// be returned from the 'end' member function of an iterator.
----------------
"based-range" should be "range-based" shouldn't it?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131448/new/

https://reviews.llvm.org/D131448



More information about the cfe-commits mailing list