llvm-project/libcxx/test/std/numerics/rand/rand.dist
Igor Zhukov db0ac307c9 [libc++] Fix warning C4244 in std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/eval.pass.cpp
frederick-vs-ja noticed that https://github.com/microsoft/STL/pull/2976#issuecomment-1201926893
while we are working on updating LLVM submodule for MS STL:

    [...]\std\numerics\rand\rand.dist\rand.dist.samp\rand.dist.samp.discrete\eval.pass.cpp(33): error C2220: the following warning is treated as an error
    [...]\std\numerics\rand\rand.dist\rand.dist.samp\rand.dist.samp.discrete\eval.pass.cpp(287): note: see reference to function template instantiation 'void tests<__int64>(void)' being compiled
    [...]\std\numerics\rand\rand.dist\rand.dist.samp\rand.dist.samp.discrete\eval.pass.cpp(33): warning C4244: 'argument': conversion from '__int64' to 'const unsigned int', possible loss of data

Differential Revision: https://reviews.llvm.org/D130963
2022-08-02 20:44:46 -04:00
..
rand.dist.bern [libc++] Support int8_t and uint8_t in integer distributions as an extension 2022-07-22 08:33:01 -04:00
rand.dist.norm
rand.dist.pois [libc++] Support int8_t and uint8_t in integer distributions as an extension 2022-07-22 08:33:01 -04:00
rand.dist.samp [libc++] Fix warning C4244 in std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/eval.pass.cpp 2022-08-02 20:44:46 -04:00
rand.dist.uni [libc++] Support int8_t and uint8_t in integer distributions as an extension 2022-07-22 08:33:01 -04:00