[PATCH] D93992: [STLExtras] Use return type from operator* of the wrapped iter.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 09:56:27 PST 2021


fhahn updated this revision to Diff 315172.
fhahn added a comment.

In D93992#2481098 <https://reviews.llvm.org/D93992#2481098>, @dblaikie wrote:

> Please add some test coverage to `llvm/unittests/ADT/STLExtrasTest.cpp`

Done, I added a version of the existing test with a custom iterator that returns a pointer on dereference.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93992

Files:
  llvm/include/llvm/ADT/STLExtras.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  llvm/unittests/ADT/STLExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93992.315172.patch
Type: text/x-patch
Size: 9848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/b63df299/attachment.bin>


More information about the llvm-commits mailing list