Disallow copying explicitly.

llvm-svn: 45518
This commit is contained in:
Chris Lattner 2008-01-03 00:09:47 +00:00
parent 3e13b8c173
commit d135068e53
1 changed files with 3 additions and 0 deletions

View File

@ -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