Eliminate use of NonCopyable so that doxygen documentation doesn't link
authorChris Lattner <sabre@nondot.org>
Thu, 1 May 2003 20:28:45 +0000 (20:28 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 May 2003 20:28:45 +0000 (20:28 +0000)
the Annotation classes with the noncopyable classes for no reason

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5973 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9PreSelection.cpp

index 216091787f1095b6c0d1d71d51994bda1f3f39cc..20974e6daf3c30ed871d887eee8dbf749fddbded 100644 (file)
@@ -52,15 +52,16 @@ namespace {
   // A single GlobalVariable is created for each constant in the pool
   // representing the memory for that constant.  
   // 
-  static AnnotationID CPFM_AID(
+  AnnotationID CPFM_AID(
                  AnnotationManager::getID("CodeGen::ConstantPoolForModule"));
 
-  class ConstantPoolForModule: private Annotation, public NonCopyable {
+  class ConstantPoolForModule : private Annotation {
     Module* myModule;
     std::map<const Constant*, GlobalVariable*> gvars;
     std::map<const Constant*, GlobalVariable*> origGVars;
     ConstantPoolForModule(Module* M);   // called only by annotation builder
-    ConstantPoolForModule();            // do not implement
+    ConstantPoolForModule();                      // DO NOT IMPLEMENT
+    void operator=(const ConstantPoolForModule&); // DO NOT IMPLEMENT
   public:
     static ConstantPoolForModule& get(Module* M) {
       ConstantPoolForModule* cpool =