aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-28 22:35:24 +0000
committerChris Lattner <sabre@nondot.org>2009-02-28 22:35:24 +0000
commit5ce518677afce495c9812f7c5dd0e0c9c03a4e33 (patch)
tree7ebc965ab767964c8120678bc46642a682d80bcf
parent18f9efdd9ef6b529d054ce63f41be7fc33bee995 (diff)
downloadexternal_llvm-5ce518677afce495c9812f7c5dd0e0c9c03a4e33.zip
external_llvm-5ce518677afce495c9812f7c5dd0e0c9c03a4e33.tar.gz
external_llvm-5ce518677afce495c9812f7c5dd0e0c9c03a4e33.tar.bz2
disable copying and assignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65730 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Assembly/Writer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h
index 343539a..49ff50f 100644
--- a/include/llvm/Assembly/Writer.h
+++ b/include/llvm/Assembly/Writer.h
@@ -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();