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

llvm-svn: 163969
This commit is contained in:
Craig Topper 2012-09-15 16:22:27 +00:00
parent f2b97fea6a
commit dfe55636a3
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