From 49269d9e7eb5ce6e1a84a10ca0bdeab044d0db3d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 3 Jan 2008 00:09:47 +0000 Subject: [PATCH] Disallow copying explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45518 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Function.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1