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
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits