[all-commits] [llvm/llvm-project] 1045d1: [libc++][ranges] Applied `[[nodiscard]]` to `zip_v...
Hristo Hristov via All-commits
all-commits at lists.llvm.org
Tue Jul 7 09:01:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1045d1ebca559d7e6dee49b002142e52bb61b49e
https://github.com/llvm/llvm-project/commit/1045d1ebca559d7e6dee49b002142e52bb61b49e
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M libcxx/include/__ranges/zip_view.h
M libcxx/test/libcxx/ranges/range.adaptors/range.zip.transform/nodiscard.verify.cpp
A libcxx/test/libcxx/ranges/range.adaptors/range.zip/nodiscard.verify.cpp
A libcxx/test/libcxx/ranges/range.adaptors/range_adaptor_types.h
Log Message:
-----------
[libc++][ranges] Applied `[[nodiscard]]` to `zip_view` (#207667)
`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.zip
Towards #172124
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