diff options
| author | Phlosioneer <mattmdrr2@gmail.com> | 2018-03-06 23:17:49 -0500 |
|---|---|---|
| committer | Phlosioneer <mattmdrr2@gmail.com> | 2018-03-19 01:39:37 -0400 |
| commit | 612c4a95bce4c4dc0cddc5ab374fcb262039aede (patch) | |
| tree | 52b7ce643c0072ef287d3540abf74651f703c809 /src/rustllvm/PassWrapper.cpp | |
| parent | 5508b27145cfb82896ae838e6aca0cd48750796f (diff) | |
| download | rust-612c4a95bce4c4dc0cddc5ab374fcb262039aede.tar.gz rust-612c4a95bce4c4dc0cddc5ab374fcb262039aede.zip | |
Impl Integer methods for Wrapping
Wrapping<T> now implements: count_ones, count_zeros, leading_zeros, trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be, from_le, to_be, to_le, and pow where T is: u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize. Docs were written for all these methods, as well as examples. The examples mirror the ones on u8, u16, etc... for consistency. Closes #32463
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
