forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
.. | ||
rand.adapt | ||
rand.device | ||
rand.dis | ||
rand.eng | ||
rand.predef | ||
rand.req | ||
rand.util | ||
nothing_to_do.pass.cpp |