From: Dan Gohman Date: Mon, 9 Nov 2009 17:06:23 +0000 (+0000) Subject: Suppress implicit copy ctor and copy assignment for MachineFunction. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9d51c972c12ad213cfb1d8f9179bad72a6a5a09a;p=oota-llvm.git Suppress implicit copy ctor and copy assignment for MachineFunction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86557 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 40260ea693f..e836e2ef15b 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -115,6 +115,9 @@ class MachineFunction { // The alignment of the function. unsigned Alignment; + MachineFunction(const MachineFunction &); // intentionally unimplemented + void operator=(const MachineFunction&); // intentionally unimplemented + public: MachineFunction(Function *Fn, const TargetMachine &TM); ~MachineFunction();