[libcxx-commits] [PATCH] D114920: [libc++] Explicitly reject `uniform_int_distribution<bool>`; reject URNGs with signed result types
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 17 09:09:44 PST 2022
Quuxplusone updated this revision to Diff 400571.
Quuxplusone retitled this revision from "[libc++] Explicitly reject `uniform_int_distribution<bool>`." to "[libc++] Explicitly reject `uniform_int_distribution<bool>`; reject URNGs with signed result types".
Quuxplusone edited the summary of this revision.
Quuxplusone added a comment.
Add a release note.
Fix the benchmarks.
Scope-creep to `[libc++] Explicitly reject URNG types with signed result_types` (fixes https://github.com/llvm/llvm-project/issues/48965 ) while I'm here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114920/new/
https://reviews.llvm.org/D114920
Files:
libcxx/benchmarks/GenerateInput.h
libcxx/benchmarks/algorithms.partition_point.bench.cpp
libcxx/benchmarks/allocation.bench.cpp
libcxx/docs/ReleaseNotes.rst
libcxx/include/CMakeLists.txt
libcxx/include/__random/bernoulli_distribution.h
libcxx/include/__random/binomial_distribution.h
libcxx/include/__random/cauchy_distribution.h
libcxx/include/__random/discrete_distribution.h
libcxx/include/__random/exponential_distribution.h
libcxx/include/__random/extreme_value_distribution.h
libcxx/include/__random/fisher_f_distribution.h
libcxx/include/__random/gamma_distribution.h
libcxx/include/__random/geometric_distribution.h
libcxx/include/__random/is_valid.h
libcxx/include/__random/negative_binomial_distribution.h
libcxx/include/__random/normal_distribution.h
libcxx/include/__random/piecewise_constant_distribution.h
libcxx/include/__random/piecewise_linear_distribution.h
libcxx/include/__random/poisson_distribution.h
libcxx/include/__random/student_t_distribution.h
libcxx/include/__random/uniform_int_distribution.h
libcxx/include/__random/uniform_real_distribution.h
libcxx/include/module.modulemap
libcxx/include/random
libcxx/test/libcxx/diagnostics/detail.headers/random/is_valid.module.verify.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114920.400571.patch
Type: text/x-patch
Size: 22909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220117/11f05d84/attachment-0001.bin>
More information about the libcxx-commits
mailing list