about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2018-03-06 23:17:49 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2018-03-19 01:39:37 -0400
commit612c4a95bce4c4dc0cddc5ab374fcb262039aede (patch)
tree52b7ce643c0072ef287d3540abf74651f703c809 /src/rustllvm/PassWrapper.cpp
parent5508b27145cfb82896ae838e6aca0cd48750796f (diff)
downloadrust-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