ΒΆtemplate <typename T>
std::enable_if_t<std::is_signed<T>::value, T>
SubOverflow(T X, T Y, T& Result)

Description

Subtract two signed integers, computing the two's complement truncated result, returning true if an overflow ocurred.

Declared at: llvm/include/llvm/Support/MathExtras.h:950

Templates

T

Parameters

T X
T Y
T& Result