diff options
author | Nathan Slingerland <slingn@gmail.com> | 2015-12-09 17:11:28 +0000 |
---|---|---|
committer | Nathan Slingerland <slingn@gmail.com> | 2015-12-09 17:11:28 +0000 |
commit | 644badbf01cdfad5dcd9409f19eb32e7a31bb6a4 (patch) | |
tree | 35ae725f4e388cff659cc169a1524342cd6404cf /lldb/packages/Python/lldbsuite/test/expression_command/options | |
parent | e28d04da59e7806345a75ea20af3046b65f76c71 (diff) | |
download | bcm5719-llvm-644badbf01cdfad5dcd9409f19eb32e7a31bb6a4.tar.gz bcm5719-llvm-644badbf01cdfad5dcd9409f19eb32e7a31bb6a4.zip |
[Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for returning overflow state
Summary:
Improve SaturatingAdd()/SaturatingMultiply() to use bool * to optionally return overflow result.
This should make it clearer that the value is returned at callsites and reduces the size of the implementation.
Reviewers: davidxl, silvas
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15219
llvm-svn: 255128
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/options')
0 files changed, 0 insertions, 0 deletions