Logo
Explore Help
Sign In
shylie/llvm-project
1
0
Fork 0
You've already forked llvm-project
Code Issues Pull Requests Actions 6 Packages Projects Releases Wiki Activity
llvm-project/libcxx/test/std/numerics/rand
History
Stephan T. Lavavej 8eb5ce8652 [libcxx] [test] D27020: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12.
When initializing unsigned integers to their maximum values, change "const T M(~0);" to "const T M(static_cast<T>(-1));".

~0 and -1 are equivalent, but I consider the -1 form to be significantly clearer (and more consistent with other tests).

llvm-svn: 287827
2016-11-23 22:02:53 +00:00
..
rand.adapt
[libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning.
2016-11-18 22:45:32 +00:00
rand.device
[libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced".
2016-11-14 17:35:14 +00:00
rand.dis
[libcxx] [test] D27018: Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12.
2016-11-23 22:02:35 +00:00
rand.eng
[libcxx] [test] D27020: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12.
2016-11-23 22:02:53 +00:00
rand.predef
Fix portability issues in <random> tests. Patch from STL@microsoft.com
2016-07-24 23:36:18 +00:00
rand.req
…
rand.util
…
nothing_to_do.pass.cpp
…
Powered by Gitea Version: 1.23.1 Page: 1040ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API