[PATCH] D144834: [ADT] Fix const-correctness issues in `zippy`

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 19:36:45 PST 2023


kuhar updated this revision to Diff 501003.
kuhar added a comment.

Fix the definition of `MakeConst` to return values instead of references, to avoid dangling references.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144834

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144834.501003.patch
Type: text/x-patch
Size: 7829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/52e5e155/attachment.bin>


More information about the llvm-commits mailing list