From: Chris Lattner Date: Thu, 3 Jan 2008 00:09:47 +0000 (+0000) Subject: Disallow copying explicitly. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=49269d9e7eb5ce6e1a84a10ca0bdeab044d0db3d;p=oota-llvm.git Disallow copying explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45518 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 31ee6d7544d..2c4f9d9e27d 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -101,6 +101,9 @@ private: BuildLazyArguments(); } void BuildLazyArguments() const; + + Function(const Function&); // DO NOT IMPLEMENT + void operator=(const Function&); // DO NOT IMPLEMENT public: /// Function ctor - If the (optional) Module argument is specified, the /// function is automatically inserted into the end of the function list for