[all-commits] [llvm/llvm-project] 266154: [ADT] Make concat able to handle ranges with itera...
David Blaikie via All-commits
all-commits at lists.llvm.org
Fri Oct 18 11:15:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 266154a59b957daa7ec976dea70cc75e78ca71b6
https://github.com/llvm/llvm-project/commit/266154a59b957daa7ec976dea70cc75e78ca71b6
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
M llvm/unittests/ADT/STLExtrasTest.cpp
Log Message:
-----------
[ADT] Make concat able to handle ranges with iterators that return by value (such as zip) (#112783)
If any iterator in the concatenation returns by value, the result must
return by value otherwise it'll produce dangling references.
(some context that may or may not be relevant to this part of the code
may be in
https://github.com/llvm/llvm-project/commit/981ce8fa15afa11d083033240edb1daff29081c7
)
An alternative to #112441
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list