disable some ctors.

llvm-svn: 74591
This commit is contained in:
Chris Lattner 2009-07-01 06:23:14 +00:00
parent 1d70bbcf5c
commit 0420d7cb22
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ namespace llvm {
friend class MCContext;
MCSymbol(const char *_Name, bool _IsTemporary)
: Name(_Name), Section(0), IsTemporary(_IsTemporary), IsExternal(false) {}
MCSymbol(const MCSymbol&); // DO NOT IMPLEMENT
void operator=(const MCSymbol&); // DO NOT IMPLEMENT
public:
MCSection *getSection() const { return Section; }