[llvm-commits] [llvm] r74591 - /llvm/trunk/include/llvm/MC/MCSymbol.h

Chris Lattner sabre at nondot.org
Tue Jun 30 23:23:15 PDT 2009


Author: lattner
Date: Wed Jul  1 01:23:14 2009
New Revision: 74591

URL: http://llvm.org/viewvc/llvm-project?rev=74591&view=rev
Log:
disable some ctors.

Modified:
    llvm/trunk/include/llvm/MC/MCSymbol.h

Modified: llvm/trunk/include/llvm/MC/MCSymbol.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSymbol.h?rev=74591&r1=74590&r2=74591&view=diff

==============================================================================
--- llvm/trunk/include/llvm/MC/MCSymbol.h (original)
+++ llvm/trunk/include/llvm/MC/MCSymbol.h Wed Jul  1 01:23:14 2009
@@ -46,6 +46,9 @@
     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; }





More information about the llvm-commits mailing list