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

Issue 1216413002: Fix remaining warnings for -Wmissing-braces and enable on win clang. (Closed)

Created:
5 years, 5 months ago by dcheng
Modified:
5 years, 5 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, je_julie, nektar+watch_chromium.org, plundblad+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix remaining warnings for -Wmissing-braces and enable on win clang. Missing braces have been located and restored to their rightful positions. BUG=505297 TBR=aboxhall,ananta,atwilson,hajimehoshi,jamiewalch,vitalybuka Committed: https://crrev.com/5111996850ca220174e6f55350ad1e2d9099dfc6 Cr-Commit-Position: refs/heads/master@{#337781}

Patch Set 1 #

Patch Set 2 : Rebase? #

Patch Set 3 : Moo #

Patch Set 4 : moo #

Total comments: 4

Patch Set 5 : Nested pragmas #

Total comments: 2

Patch Set 6 : Less nesting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -10 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/gcapi/gcapi.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cloud_print/service/win/service.gyp View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M components/policy/core/common/policy_loader_win.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/remoting_host_win.gypi View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/cld_2/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/cld_2/cld_2.gyp View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/iaccessible2/BUILD.gn View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (13 generated)
dcheng
+aboxhall for iaccessible2 changes, +hajimehoshi for cld_2 changes.
5 years, 5 months ago (2015-07-01 18:40:49 UTC) #2
Nico
lgtm, but needs rebasing on top of https://codereview.chromium.org/1214163009/
5 years, 5 months ago (2015-07-02 17:22:45 UTC) #4
dcheng
Rebased! TBRing owners since this is a build fix for win clang and thakis@ has ...
5 years, 5 months ago (2015-07-06 18:17:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216413002/20001
5 years, 5 months ago (2015-07-06 18:18:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216413002/40001
5 years, 5 months ago (2015-07-06 18:22:02 UTC) #14
Nico
Don't you want to do gyp in the same cl?
5 years, 5 months ago (2015-07-06 18:22:18 UTC) #15
dcheng
On 2015/07/06 at 18:22:18, thakis wrote: > Don't you want to do gyp in the ...
5 years, 5 months ago (2015-07-06 18:23:16 UTC) #16
Nico
On Mon, Jul 6, 2015 at 11:23 AM, <dcheng@chromium.org> wrote: > On 2015/07/06 at 18:22:18, ...
5 years, 5 months ago (2015-07-06 18:24:17 UTC) #17
dcheng
On 2015/07/06 at 18:24:17, thakis wrote: > On Mon, Jul 6, 2015 at 11:23 AM, ...
5 years, 5 months ago (2015-07-06 18:25:22 UTC) #18
dcheng
PTAL, I just made all the remaining changes needed to make this build. https://codereview.chromium.org/1216413002/diff/60001/third_party/iaccessible2/BUILD.gn File ...
5 years, 5 months ago (2015-07-08 02:39:09 UTC) #20
Nico
lgtm with one comment: https://codereview.chromium.org/1216413002/diff/60001/components/policy/core/common/policy_loader_win.cc File components/policy/core/common/policy_loader_win.cc (right): https://codereview.chromium.org/1216413002/diff/60001/components/policy/core/common/policy_loader_win.cc#newcode86 components/policy/core/common/policy_loader_win.cc:86: Add "// TODO: Remove pragma ...
5 years, 5 months ago (2015-07-08 02:45:38 UTC) #21
dcheng
https://codereview.chromium.org/1216413002/diff/60001/components/policy/core/common/policy_loader_win.cc File components/policy/core/common/policy_loader_win.cc (right): https://codereview.chromium.org/1216413002/diff/60001/components/policy/core/common/policy_loader_win.cc#newcode86 components/policy/core/common/policy_loader_win.cc:86: On 2015/07/08 at 02:45:38, Nico wrote: > Add "// ...
5 years, 5 months ago (2015-07-08 04:35:32 UTC) #22
Nico
https://codereview.chromium.org/1216413002/diff/80001/components/policy/core/common/policy_loader_win.cc File components/policy/core/common/policy_loader_win.cc (right): https://codereview.chromium.org/1216413002/diff/80001/components/policy/core/common/policy_loader_win.cc#newcode88 components/policy/core/common/policy_loader_win.cc:88: #pragma warning(disable: 4068) // unknown pragmas alternatively `#ifdef __clang__` ...
5 years, 5 months ago (2015-07-08 05:17:27 UTC) #23
dcheng
https://codereview.chromium.org/1216413002/diff/80001/components/policy/core/common/policy_loader_win.cc File components/policy/core/common/policy_loader_win.cc (right): https://codereview.chromium.org/1216413002/diff/80001/components/policy/core/common/policy_loader_win.cc#newcode88 components/policy/core/common/policy_loader_win.cc:88: #pragma warning(disable: 4068) // unknown pragmas On 2015/07/08 at ...
5 years, 5 months ago (2015-07-08 08:02:49 UTC) #24
dcheng
TBRing a couple people +vitalybuka for cloud_print +atwilson for components/policy +jamiewalch for remoting +ananta for ...
5 years, 5 months ago (2015-07-08 08:05:29 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216413002/100001
5 years, 5 months ago (2015-07-08 08:06:45 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-08 08:13:10 UTC) #30
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 08:14:10 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5111996850ca220174e6f55350ad1e2d9099dfc6
Cr-Commit-Position: refs/heads/master@{#337781}

Powered by Google App Engine
This is Rietveld 408576698