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

Issue 1717433003: Switch BlinkGCPluginConsumer to use ranged for-loops. (Closed)

Created:
4 years, 10 months ago by sof
Modified:
4 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch BlinkGCPluginConsumer to use ranged for-loops. Modernize and consistently use ranged for-loops where possible. R=haraken,thakis BUG= Committed: https://crrev.com/bbdd322aed279091827ddf5aa50a6723deda641f Cr-Commit-Position: refs/heads/master@{#376656}

Patch Set 1 #

Patch Set 2 : formatting twiddles #

Patch Set 3 : decl arg tidying #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -144 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp View 1 14 chunks +87 lines, -140 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
sof
please take a look. some tidying work i had lying around.. passes unit tests & ...
4 years, 10 months ago (2016-02-20 08:31:32 UTC) #2
haraken
LGTM
4 years, 10 months ago (2016-02-20 08:44:03 UTC) #3
Nico
On 2016/02/20 08:44:03, haraken wrote: > LGTM For loops lgtm. Omitting parameter names is uncommon ...
4 years, 10 months ago (2016-02-20 13:40:19 UTC) #4
sof
On 2016/02/20 13:40:19, Nico (ooo Fri Feb 19) wrote: > On 2016/02/20 08:44:03, haraken wrote: ...
4 years, 10 months ago (2016-02-20 14:29:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1717433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1717433003/40001
4 years, 10 months ago (2016-02-20 19:04:56 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-20 19:09:53 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/bbdd322aed279091827ddf5aa50a6723deda641f Cr-Commit-Position: refs/heads/master@{#376656}
4 years, 10 months ago (2016-02-20 19:11:27 UTC) #13
Nico
4 years, 10 months ago (2016-02-21 21:49:36 UTC) #14
Message was sent while issue was closed.
On 2016/02/20 14:29:26, sof wrote:
> On 2016/02/20 13:40:19, Nico (ooo Fri Feb 19) wrote:
> > On 2016/02/20 08:44:03, haraken wrote:
> > > LGTM
> > 
> > For loops lgtm. Omitting parameter names is uncommon in both chromium and
llvm
> > code as far as I know, but up to you if you want to keep that.
> 
> I'll add them back to comply.
> 
> (Tangential question, will the Blink codebase conversion introduce these
> automagically?)

(IIRC the plan was to squint enough at the google style guide to interpret it
that omitting parameter names is ok and recommending this for code in blink – so
this part of blink style probably won't change. I might misremember though.)

Powered by Google App Engine
This is Rietveld 408576698