disable some ctors.
authorChris Lattner <sabre@nondot.org>
Wed, 1 Jul 2009 06:23:14 +0000 (06:23 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Jul 2009 06:23:14 +0000 (06:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74591 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSymbol.h

index 87698e364d3aed2cf015e3a3894e23aac63c24a8..a6a9dff5075c46e83faa150bd9b3185207ccfbb3 100644 (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; }