Make PassInfo noncopyable.
authorDan Gohman <gohman@apple.com>
Wed, 14 May 2008 00:39:39 +0000 (00:39 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 14 May 2008 00:39:39 +0000 (00:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51085 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassSupport.h

index 0eae122007f72df9fd91a630d610ee2a4498eb9f..af00725a32df82b71d8c2ea1121ebe3c0523f2b6 100644 (file)
@@ -137,6 +137,10 @@ public:
 protected:
   void registerPass();
   void unregisterPass();
+
+private:
+  void operator=(const PassInfo &); // do not implement
+  PassInfo(const PassInfo &);       // do not implement
 };