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

Issue 1895903003: base: Add out-of-line copy ctors for complex classes. (Closed)

Created:
4 years, 8 months ago by vmpstr
Modified:
4 years, 8 months ago
Reviewers:
gab, dcheng, danakj, Nico, robliao, fdoray
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Add out-of-line copy ctors for complex classes. This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=danakj@chromium.org, dcheng@chromium.org, thakis@chromium.org Committed: https://crrev.com/c48b3c39d37d01e41ab7fc2b6b8367f72b78572b Cr-Commit-Position: refs/heads/master@{#388020}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M base/task_scheduler/priority_queue.h View 1 chunk +2 lines, -0 lines 0 comments Download
M base/task_scheduler/priority_queue.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
vmpstr
Please take a look
4 years, 8 months ago (2016-04-18 19:43:59 UTC) #2
danakj
LGTM
4 years, 8 months ago (2016-04-18 19:45:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1895903003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1895903003/1
4 years, 8 months ago (2016-04-18 19:46:08 UTC) #6
robliao
lgtm
4 years, 8 months ago (2016-04-18 19:46:09 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-18 21:05:15 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c48b3c39d37d01e41ab7fc2b6b8367f72b78572b Cr-Commit-Position: refs/heads/master@{#388020}
4 years, 8 months ago (2016-04-18 21:07:18 UTC) #11
gab
Is this correct? I'm guessing this is only required for the STL, should we provide ...
4 years, 8 months ago (2016-04-19 18:36:49 UTC) #12
vmpstr
On 2016/04/19 18:36:49, gab wrote: > Is this correct? I'm guessing this is only required ...
4 years, 8 months ago (2016-04-19 18:42:06 UTC) #13
gab
On 2016/04/19 18:42:06, vmpstr wrote: > On 2016/04/19 18:36:49, gab wrote: > > Is this ...
4 years, 8 months ago (2016-04-19 18:51:27 UTC) #14
danakj
4 years, 8 months ago (2016-04-19 18:56:49 UTC) #15
Message was sent while issue was closed.
On Tue, Apr 19, 2016 at 11:36 AM, <gab@chromium.org> wrote:

> Is this correct? I'm guessing this is only required for the STL, should we
>

(Most?) STL containers do not do copies anymore. We're doing a copy
somewhere else. = delete the constructor to find out where :)


> provide a move-only constructor instead to be able to move the ref instead
> of
> bumping it around?
>
> https://codereview.chromium.org/1895903003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
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