diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-27 15:23:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-27 15:23:44 +0000 |
commit | 0eae9eccdf5dbd016fece11e03f564b8f1b1fbfb (patch) | |
tree | e5a7f88992723877560208804f4c5ecf290b2c1c /llvm/tools/llvm-cov/SourceCoverageView.h | |
parent | 115d225cf1895e2a9d7c514ffb36dfe703cb2264 (diff) | |
download | bcm5719-llvm-0eae9eccdf5dbd016fece11e03f564b8f1b1fbfb.tar.gz bcm5719-llvm-0eae9eccdf5dbd016fece11e03f564b8f1b1fbfb.zip |
Remove duplicated default move ctors/move assign. No functional change.
llvm-svn: 285302
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.h')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageView.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.h b/llvm/tools/llvm-cov/SourceCoverageView.h index 21672f5e738..9cb608fed60 100644 --- a/llvm/tools/llvm-cov/SourceCoverageView.h +++ b/llvm/tools/llvm-cov/SourceCoverageView.h @@ -57,15 +57,6 @@ struct InstantiationView { InstantiationView(StringRef FunctionName, unsigned Line, std::unique_ptr<SourceCoverageView> View) : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} - InstantiationView(InstantiationView &&RHS) - : FunctionName(std::move(RHS.FunctionName)), Line(std::move(RHS.Line)), - View(std::move(RHS.View)) {} - InstantiationView &operator=(InstantiationView &&RHS) { - FunctionName = std::move(RHS.FunctionName); - Line = std::move(RHS.Line); - View = std::move(RHS.View); - return *this; - } friend bool operator<(const InstantiationView &LHS, const InstantiationView &RHS) { |