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

Issue 2295903002: Include type_traits in safe_conversions_impl (Closed)

Created:
4 years, 3 months ago by Tom (Use chromium acct)
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Include type_traits in safe_conversions_impl type_traits adds std::is_arithmetic which is used in safe_conversions_impl.h, however this header was not included. This is reported as an error by flycheck-clang (using my system clang version 3.4, system headers, and --std=c++1y), and is causing every source file that has safe_conversions_impl.h as a dependency (about 13,000 of them) to fail to syntax check anything after the include. Committed: https://crrev.com/61500f21a9f93247d9b02fa86c7f619e02bb7fb8 Cr-Commit-Position: refs/heads/master@{#415530}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M base/numerics/safe_conversions_impl.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
Tom (Use chromium acct)
4 years, 3 months ago (2016-08-30 17:33:15 UTC) #6
Lei Zhang
lgtm
4 years, 3 months ago (2016-08-30 17:38:53 UTC) #7
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/2295903002/1
4 years, 3 months ago (2016-08-31 01:26:49 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-31 01:30:58 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 01:33:33 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/61500f21a9f93247d9b02fa86c7f619e02bb7fb8
Cr-Commit-Position: refs/heads/master@{#415530}

Powered by Google App Engine
This is Rietveld 408576698