[PATCH] D49956: [ADT] Add an early-increment iterator and range adaptor.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 28 02:55:06 PDT 2018


chandlerc created this revision.
Herald added subscribers: dexonsmith, mcrosier, sanjoy.

This allows us to model the common LLVM idiom of incrementing
immediately after dereferencing so that we can remove or update the
entity w/o losing our ability to reach the "next".


Repository:
  rL LLVM

https://reviews.llvm.org/D49956

Files:
  llvm/include/llvm/ADT/STLExtras.h
  llvm/unittests/ADT/STLExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49956.157843.patch
Type: text/x-patch
Size: 3601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180728/1e8f09a2/attachment.bin>


More information about the llvm-commits mailing list