disable copying and assignment.
authorChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2009 22:35:24 +0000 (22:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2009 22:35:24 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65730 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Assembly/Writer.h

index 343539acef206a85a0290b4d08f6eccc1f00b143..49ff50f2593ac8a6fade53a74e68ecff4a557940 100644 (file)
@@ -30,6 +30,8 @@ template <typename T> class SmallVectorImpl;
 /// TypePrinting - Type printing machinery.
 class TypePrinting {
   void *TypeNames;
+  TypePrinting(const TypePrinting &);   // DO NOT IMPLEMENT
+  void operator=(const TypePrinting&);  // DO NOT IMPLEMENT
 public:
   TypePrinting(const Module *M);
   ~TypePrinting();