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

Issue 2784083002: Fix style for aggregate initilaizer. (Closed)

Created:
3 years, 8 months ago by skau
Modified:
3 years, 8 months ago
Reviewers:
Lei Zhang, Nico
CC:
chromium-reviews, James Cook
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix style for aggregate initializer. Appease clang when run with -Wmissing-braces. By rule, the braces can be elided but since std::array is an array wrapped in a struct, it produces a warning. BUG=706428 Review-Url: https://codereview.chromium.org/2784083002 Cr-Commit-Position: refs/heads/master@{#462291} Committed: https://chromium.googlesource.com/chromium/src/+/74cea7ee6f641c6f59970a45bc6a5ec334020131

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M printing/backend/cups_jobs.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
skau
thestig@: The updated version of clang doesn't like brace elision. PTAL.
3 years, 8 months ago (2017-03-29 23:13:54 UTC) #2
Lei Zhang
I haven't been using uniform initialization syntax, so I'll defer to Nico.
3 years, 8 months ago (2017-03-30 00:23:46 UTC) #4
skau
thakis@ Can you take a look? I'm sure this got buried in your queue.
3 years, 8 months ago (2017-04-05 20:36:34 UTC) #5
Nico
Sorry, I remember not understanding the patch when it arrived, and then it got lost ...
3 years, 8 months ago (2017-04-05 21:41:57 UTC) #6
skau
On 2017/04/05 21:41:57, Nico wrote: > Sorry, I remember not understanding the patch when it ...
3 years, 8 months ago (2017-04-05 22:02:14 UTC) #7
Nico
On 2017/04/05 22:02:14, skau wrote: > On 2017/04/05 21:41:57, Nico wrote: > > Sorry, I ...
3 years, 8 months ago (2017-04-05 23:31:03 UTC) #9
skau
Thanks. I've updated the comment to something that should be more accurate.
3 years, 8 months ago (2017-04-05 23:44:40 UTC) #11
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/2784083002/1
3 years, 8 months ago (2017-04-05 23:45:57 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/403812)
3 years, 8 months ago (2017-04-06 00:00:05 UTC) #15
Lei Zhang
lgtm
3 years, 8 months ago (2017-04-06 00:04:56 UTC) #16
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/2784083002/1
3 years, 8 months ago (2017-04-06 00:18:54 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 00:25:17 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/74cea7ee6f641c6f59970a45bc6a...

Powered by Google App Engine
This is Rietveld 408576698