Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Issue 2480953002: Make Checked* functions better align with GCC/Clang intrinsics (Closed)

Created:
4 years, 1 month ago by jschuh
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Checked* functions better align with GCC/Clang intrinsics This switches around the return types and out params. BUG=613003 Committed: https://crrev.com/216b62a9bb39c9b6e5936d90b8085c300843bd9c Cr-Commit-Position: refs/heads/master@{#430511}

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : checkpoint #

Patch Set 4 : checkpoint #

Patch Set 5 : compile fix #

Total comments: 4

Patch Set 6 : nits + compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -134 lines) Patch
M base/numerics/safe_math.h View 1 2 3 4 5 4 chunks +18 lines, -22 lines 0 comments Download
M base/numerics/safe_math_impl.h View 1 2 3 4 5 5 chunks +123 lines, -103 lines 0 comments Download
M base/numerics/safe_numerics_unittest.cc View 2 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
jschuh
checkpoint
4 years, 1 month ago (2016-11-05 04:39:36 UTC) #1
jschuh
compile fix
4 years, 1 month ago (2016-11-05 14:54:27 UTC) #2
jschuh
ptal
4 years, 1 month ago (2016-11-07 17:17:58 UTC) #6
Tom Sepez
lgtm https://codereview.chromium.org/2480953002/diff/80001/base/numerics/safe_math.h File base/numerics/safe_math.h (right): https://codereview.chromium.org/2480953002/diff/80001/base/numerics/safe_math.h#newcode123 base/numerics/safe_math.h:123: bool is_valid = std::numeric_limits<T>::is_iec559 || IsValid(); nit: maybe ...
4 years, 1 month ago (2016-11-07 17:42:57 UTC) #8
jschuh
nit
4 years, 1 month ago (2016-11-07 17:58:31 UTC) #9
Tom Sepez
still LGTM
4 years, 1 month ago (2016-11-07 18:01:26 UTC) #10
jschuh
nits + compile fix
4 years, 1 month ago (2016-11-07 18:14:31 UTC) #11
jschuh
https://codereview.chromium.org/2480953002/diff/80001/base/numerics/safe_math.h File base/numerics/safe_math.h (right): https://codereview.chromium.org/2480953002/diff/80001/base/numerics/safe_math.h#newcode123 base/numerics/safe_math.h:123: bool is_valid = std::numeric_limits<T>::is_iec559 || IsValid(); On 2016/11/07 17:42:57, ...
4 years, 1 month ago (2016-11-07 18:16:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2480953002/120001
4 years, 1 month ago (2016-11-07 21:22:54 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/230672) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-11-07 23:25:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2480953002/120001
4 years, 1 month ago (2016-11-08 02:14:39 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 1 month ago (2016-11-08 03:53:50 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 04:00:13 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/216b62a9bb39c9b6e5936d90b8085c300843bd9c
Cr-Commit-Position: refs/heads/master@{#430511}

Powered by Google App Engine
This is Rietveld 408576698