Skip to main content

is_element_ptr_add

Function is_element_ptr_add 

Source
pub(crate) fn is_element_ptr_add(callee: Option<DefId>) -> bool
Expand description

Element-strided add/wrapping_add and signed offset/wrapping_offset (stride = size_of::<T>()). offset_from/offset_from_unsigned are not matched (they subtract two pointers into an isize).