From: Dan Gohman Date: Wed, 14 May 2008 00:39:39 +0000 (+0000) Subject: Make PassInfo noncopyable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=79fc2020ce2373b43c1a8d63f9de5ca496be84bc;p=oota-llvm.git Make PassInfo noncopyable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51085 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index 0eae122007f..af00725a32d 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -137,6 +137,10 @@ public: protected: void registerPass(); void unregisterPass(); + +private: + void operator=(const PassInfo &); // do not implement + PassInfo(const PassInfo &); // do not implement };