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

Issue 607773002: styleguide: Move Rvalue References to the Blacklist with Exceptions. (Closed)

Created:
6 years, 2 months ago by danakj
Modified:
6 years, 2 months ago
CC:
chromium-reviews, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

styleguide: Move Rvalue References to the Blacklist with Exceptions. The discussion around Rvalue references has been that we should ban their use for now, but come back to it later. So that is what this does. One exceptional case that was agreed upon without dissent was to allow move semantics in scoped_ptr to allow use of scoped_ptr cleaner throughout the codebase, without leaking the requirement to understand Rvalue references outside of the scoped_ptr implementation. R=jamesr@chromium.org, thakis@chromium.org Committed: https://crrev.com/d9a02e76127634286ff0c760f87db260b367492a Cr-Commit-Position: refs/heads/master@{#297016}

Patch Set 1 #

Patch Set 2 : moveonly-scopedptr: . #

Patch Set 3 : moveonly-scopedptr: #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M styleguide/c++/c++11.html View 1 2 2 chunks +22 lines, -8 lines 1 comment Download

Messages

Total messages: 22 (3 generated)
danakj
6 years, 2 months ago (2014-09-26 01:24:15 UTC) #1
danakj
+ajwong in case he has input if making an explicit whitelist here is a good ...
6 years, 2 months ago (2014-09-26 01:29:25 UTC) #3
awong
On 2014/09/26 01:29:25, danakj wrote: > +ajwong in case he has input if making an ...
6 years, 2 months ago (2014-09-26 02:58:37 UTC) #4
jamesr
My feeling is encoding a whitelist encoded here is too bureaucratic. I'd rather put something ...
6 years, 2 months ago (2014-09-26 04:40:54 UTC) #5
danakj
Changed to "To be revisited in the future. Allowed in exceptional cases where approved on ...
6 years, 2 months ago (2014-09-26 13:29:05 UTC) #6
brettw
Asking chromium-dev is a recipe for a neverending centithread. I liked James' suggestion better
6 years, 2 months ago (2014-09-26 15:21:41 UTC) #7
danakj
On 2014/09/26 15:21:41, brettw wrote: > Asking chromium-dev is a recipe for a neverending centithread. ...
6 years, 2 months ago (2014-09-26 15:39:29 UTC) #8
brettw
On 2014/09/26 15:39:29, danakj wrote: > On 2014/09/26 15:21:41, brettw wrote: > > Asking chromium-dev ...
6 years, 2 months ago (2014-09-26 18:16:23 UTC) #9
jamesr
lgtm, but give awong a chance to chime in too before landing please. Thanks!
6 years, 2 months ago (2014-09-26 18:22:13 UTC) #10
awong
LGTM
6 years, 2 months ago (2014-09-26 18:29:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607773002/40001
6 years, 2 months ago (2014-09-26 19:25:07 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as e26abb63908b75a37554c705841bd8008b01dc34
6 years, 2 months ago (2014-09-26 20:03:12 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d9a02e76127634286ff0c760f87db260b367492a Cr-Commit-Position: refs/heads/master@{#297016}
6 years, 2 months ago (2014-09-26 20:03:52 UTC) #15
Avi (use Gerrit)
https://codereview.chromium.org/607773002/diff/40001/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/607773002/diff/40001/styleguide/c++/c++11.html#newcode186 styleguide/c++/c++11.html:186: </table> Is there a reason you put this in ...
6 years, 2 months ago (2014-09-26 20:33:23 UTC) #17
Avi (use Gerrit)
6 years, 2 months ago (2014-09-26 20:33:54 UTC) #18
danakj
It's header says "<p>This section lists features that are not allowed to be used yet." ...
6 years, 2 months ago (2014-09-26 20:41:53 UTC) #19
Avi (use Gerrit)
On 2014/09/26 20:41:53, danakj wrote: > It's header says "<p>This section lists features that are ...
6 years, 2 months ago (2014-09-26 20:56:07 UTC) #20
Avi (use Gerrit)
On 2014/09/26 20:56:07, Avi wrote: > If there is a slight difference between "banned but ...
6 years, 2 months ago (2014-09-26 20:57:29 UTC) #21
danakj
6 years, 2 months ago (2014-09-26 20:59:41 UTC) #22
On Fri, Sep 26, 2014 at 4:57 PM, <avi@chromium.org> wrote:

> On 2014/09/26 20:56:07, Avi wrote:
>
>> If there is a slight difference between "banned but ok if specifically
>>
> approved"
>
>> and "always banned", then at least put an h2 header on the table.
>>
>
> At least put an h3 header on the file...
>

Ohhh, I misread the HTML clearly. OK let me try patch this up. Thanks.


>
> https://codereview.chromium.org/607773002/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698