From 36e74871b881112c17ffdcd421162ab588c3456b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 1 Jul 2009 06:23:14 +0000 Subject: disable some ctors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74591 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSymbol.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index 87698e3..a6a9dff 100644 --- a/include/llvm/MC/MCSymbol.h +++ b/include/llvm/MC/MCSymbol.h @@ -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; } -- cgit v1.1