diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-08 18:19:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-08 18:19:38 +0000 |
commit | 1b488eb88128f07c8ffc37cacbab195dc3000b19 (patch) | |
tree | 5c820c2fd2b45b966546d6655a2160f996683b31 /llvm | |
parent | 9d1b12c0913b191408869b648d3a44040853674b (diff) | |
download | bcm5719-llvm-1b488eb88128f07c8ffc37cacbab195dc3000b19.tar.gz bcm5719-llvm-1b488eb88128f07c8ffc37cacbab195dc3000b19.zip |
[CodeView] Remove manual expansion of the default copy ctor.
It provides nothing over the default one but makes the class not
trivially copyable. No functionality change intended.
llvm-svn: 272186
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/DebugInfo/CodeView/StreamRef.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h b/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h index 107ab759ecb..036802d2499 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h +++ b/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h @@ -25,9 +25,6 @@ public: : Stream(&Stream), ViewOffset(Offset), Length(Length) {} StreamRef(const StreamRef &Stream, uint32_t Offset, uint32_t Length) = delete; - StreamRef(const StreamRef &Other) - : Stream(Other.Stream), ViewOffset(Other.ViewOffset), - Length(Other.Length) {} Error readBytes(uint32_t Offset, uint32_t Size, ArrayRef<uint8_t> &Buffer) const override { @@ -68,13 +65,6 @@ public: bool operator!=(const StreamRef &Other) const { return !(*this == Other); } - StreamRef &operator=(const StreamRef &Other) { - Stream = Other.Stream; - ViewOffset = Other.ViewOffset; - Length = Other.Length; - return *this; - } - private: const StreamInterface *Stream; uint32_t ViewOffset; |