diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-15 17:09:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-15 17:09:36 +0000 |
commit | 86a1c32e67b23c5e9e42dff9eb86e99ba15bb42f (patch) | |
tree | 058299fea04ab7452827dcc9795624bdcb3b940c /lib/Support | |
parent | dd100d831bb8062b64e7037d2bbc21bf20be4f45 (diff) | |
download | external_llvm-86a1c32e67b23c5e9e42dff9eb86e99ba15bb42f.zip external_llvm-86a1c32e67b23c5e9e42dff9eb86e99ba15bb42f.tar.gz external_llvm-86a1c32e67b23c5e9e42dff9eb86e99ba15bb42f.tar.bz2 |
Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/StreamableMemoryObject.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Support/StreamableMemoryObject.cpp b/lib/Support/StreamableMemoryObject.cpp index fe3752a..6fec9a9 100644 --- a/lib/Support/StreamableMemoryObject.cpp +++ b/lib/Support/StreamableMemoryObject.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/StreamableMemoryObject.h" +#include "llvm/Support/Compiler.h" #include <cassert> #include <cstring> @@ -49,8 +50,8 @@ private: return static_cast<ptrdiff_t>(address) == LastChar - FirstChar; } - RawMemoryObject(const RawMemoryObject&); // DO NOT IMPLEMENT - void operator=(const RawMemoryObject&); // DO NOT IMPLEMENT + RawMemoryObject(const RawMemoryObject&) LLVM_DELETED_FUNCTION; + void operator=(const RawMemoryObject&) LLVM_DELETED_FUNCTION; }; int RawMemoryObject::readByte(uint64_t address, uint8_t* ptr) const { |