[PATCH] D14931: [Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to indicate that overflow occurred

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 13:24:31 PST 2015


slingn updated this revision to Diff 40968.
slingn marked an inline comment as done.
slingn added a comment.

Updated for davidxl's comments.


http://reviews.llvm.org/D14931

Files:
  include/llvm/Support/MathExtras.h
  unittests/Support/MathExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14931.40968.patch
Type: text/x-patch
Size: 6568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151123/56115081/attachment.bin>


More information about the llvm-commits mailing list