[libc++] Add [[clang::lifetimebound]] to min/max algorithms
authorNikolas Klauser <nikolasklauser@berlin.de>
Tue, 10 Jan 2023 23:01:37 +0000 (00:01 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Mon, 30 Jan 2023 17:01:46 +0000 (18:01 +0100)
commit934650b24fbfea88c34f735b9cfd0d86e0f608d9
treec6d7e23b775fcc48ff44fb9f3d903d4276616635
parent23872aae129ce0282477c6838707569315f41585
[libc++] Add [[clang::lifetimebound]] to min/max algorithms

Reviewed By: Mordante, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D142608
libcxx/include/__algorithm/max.h
libcxx/include/__algorithm/min.h
libcxx/include/__algorithm/minmax.h
libcxx/include/__algorithm/ranges_max.h
libcxx/include/__algorithm/ranges_min.h
libcxx/include/__algorithm/ranges_minmax.h
libcxx/include/module.modulemap.in
libcxx/test/libcxx/algorithms/lifetimebound.verify.cpp [new file with mode: 0644]