aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-03 00:09:47 +0000
committerChris Lattner <sabre@nondot.org>2008-01-03 00:09:47 +0000
commit49269d9e7eb5ce6e1a84a10ca0bdeab044d0db3d (patch)
tree2c7cd72ffb657c20e503fa70edb45c7a4cc4d047 /include/llvm/Function.h
parent50ee9ddc8f0633af6cb0a5693a2c706e98f944da (diff)
Disallow copying explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 31ee6d7544..2c4f9d9e27 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