Suppress implicit copy ctor and copy assignment for MachineFunction.
authorDan Gohman <gohman@apple.com>
Mon, 9 Nov 2009 17:06:23 +0000 (17:06 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 9 Nov 2009 17:06:23 +0000 (17:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86557 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFunction.h

index 40260ea693f02f552a998bd8e8cf544329d771a8..e836e2ef15b87d8790bbc473f49de53c598b4006 100644 (file)
@@ -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();