Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.

llvm-svn: 163974
This commit is contained in:
Craig Topper
2012-09-15 17:09:36 +00:00
parent 2ed23ce767
commit a60c0f1163
14 changed files with 41 additions and 38 deletions

View File

@@ -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 {