Add safe bitshift operators to CheckedNumeric |
||
Issue descriptionAdd the standard bitshift operators. This requires updating the macros and changing the way promotions are handles.
,
Nov 17 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3ab540427fc419718e96e8310e817a79a837efbb commit 3ab540427fc419718e96e8310e817a79a837efbb Author: jschuh <jschuh@chromium.org> Date: Thu Nov 17 06:58:44 2016 Add support for CheckedNumeric bitshift operators BUG= 665584 Review-Url: https://codereview.chromium.org/2510973002 Cr-Commit-Position: refs/heads/master@{#432790} [modify] https://crrev.com/3ab540427fc419718e96e8310e817a79a837efbb/base/numerics/safe_math.h [modify] https://crrev.com/3ab540427fc419718e96e8310e817a79a837efbb/base/numerics/safe_math_impl.h [modify] https://crrev.com/3ab540427fc419718e96e8310e817a79a837efbb/base/numerics/safe_numerics_unittest.cc
,
Nov 17 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Nov 16 2016