[llvm-commits] [llvm] r45518 - /llvm/trunk/include/llvm/Function.h
Chris Lattner
sabre at nondot.org
Wed Jan 2 16:09:47 PST 2008
Author: lattner
Date: Wed Jan 2 18:09:47 2008
New Revision: 45518
URL: http://llvm.org/viewvc/llvm-project?rev=45518&view=rev
Log:
Disallow copying explicitly.
Modified:
llvm/trunk/include/llvm/Function.h
Modified: llvm/trunk/include/llvm/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Function.h?rev=45518&r1=45517&r2=45518&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Function.h (original)
+++ llvm/trunk/include/llvm/Function.h Wed Jan 2 18:09:47 2008
@@ -101,6 +101,9 @@
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
More information about the llvm-commits
mailing list