[PATCH] D35043: [ADT] Enable reverse iteration for DenseMap

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 11:27:20 PDT 2017


mgrang updated this revision to Diff 106675.
mgrang added a reviewer: efriedma.
mgrang added a comment.
Herald added a subscriber: mgorny.

Further cleaned up the code by moving the ReverseIteration code out of CommandLine.cpp and into its own class.
Added set/get functions instead of directly modifying the variable.


Repository:
  rL LLVM

https://reviews.llvm.org/D35043

Files:
  include/llvm/ADT/DenseMap.h
  include/llvm/ADT/SmallPtrSet.h
  include/llvm/Support/ReverseIteration.h
  lib/Support/CMakeLists.txt
  lib/Support/CommandLine.cpp
  lib/Support/ReverseIteration.cpp
  unittests/ADT/ReverseIterationTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35043.106675.patch
Type: text/x-patch
Size: 18682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170714/de284372/attachment.bin>


More information about the llvm-commits mailing list