diff options
author | vmpstr <vmpstr@chromium.org> | 2016-02-24 12:45:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-24 20:46:03 +0000 |
commit | 7d50ff54f4c5fd2a1a4cf52a919f9eb15d5d5469 (patch) | |
tree | b89ab42eaec4465cddfdb6f01d3a4e5e4a17b360 /tools/gn/label.cc | |
parent | 4e4e0bde1904d4964b5aa6a39b7688ae675edb5d (diff) | |
download | chromium_src-7d50ff54f4c5fd2a1a4cf52a919f9eb15d5d5469.zip chromium_src-7d50ff54f4c5fd2a1a4cf52a919f9eb15d5d5469.tar.gz chromium_src-7d50ff54f4c5fd2a1a4cf52a919f9eb15d5d5469.tar.bz2 |
tools/gn: 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=brettw@chromium.org, dcheng@chromium.org, thakis@chromium.org
Review URL: https://codereview.chromium.org/1728303003
Cr-Commit-Position: refs/heads/master@{#377375}
Diffstat (limited to 'tools/gn/label.cc')
-rw-r--r-- | tools/gn/label.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gn/label.cc b/tools/gn/label.cc index 7c13ed2..94c0e718 100644 --- a/tools/gn/label.cc +++ b/tools/gn/label.cc @@ -214,6 +214,8 @@ Label::Label(const SourceDir& dir, const base::StringPiece& name) name_.assign(name.data(), name.size()); } +Label::Label(const Label& other) = default; + Label::~Label() { } |