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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-09-15 16:22:27 +00:00
parent 8a96348a41
commit 09bc9373f2
2 changed files with 6 additions and 6 deletions

View File

@ -440,8 +440,8 @@ public:
class MCSectionData : public ilist_node<MCSectionData> {
friend class MCAsmLayout;
MCSectionData(const MCSectionData&); // DO NOT IMPLEMENT
void operator=(const MCSectionData&); // DO NOT IMPLEMENT
MCSectionData(const MCSectionData&) LLVM_DELETED_FUNCTION;
void operator=(const MCSectionData&) LLVM_DELETED_FUNCTION;
public:
typedef iplist<MCFragment> FragmentListType;
@ -683,8 +683,8 @@ public:
typedef std::vector<DataRegionData>::iterator data_region_iterator;
private:
MCAssembler(const MCAssembler&); // DO NOT IMPLEMENT
void operator=(const MCAssembler&); // DO NOT IMPLEMENT
MCAssembler(const MCAssembler&) LLVM_DELETED_FUNCTION;
void operator=(const MCAssembler&) LLVM_DELETED_FUNCTION;
MCContext &Context;

View File

@ -178,8 +178,8 @@ namespace llvm {
class MCLineSection {
private:
MCLineSection(const MCLineSection&); // DO NOT IMPLEMENT
void operator=(const MCLineSection&); // DO NOT IMPLEMENT
MCLineSection(const MCLineSection&) LLVM_DELETED_FUNCTION;
void operator=(const MCLineSection&) LLVM_DELETED_FUNCTION;
public:
// Constructor to create an MCLineSection with an empty MCLineEntries