[llvm-commits] [llvm] r86557 - /llvm/trunk/include/llvm/CodeGen/MachineFunction.h

Dan Gohman gohman at apple.com
Mon Nov 9 09:06:24 PST 2009


Author: djg
Date: Mon Nov  9 11:06:23 2009
New Revision: 86557

URL: http://llvm.org/viewvc/llvm-project?rev=86557&view=rev
Log:
Suppress implicit copy ctor and copy assignment for MachineFunction.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineFunction.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=86557&r1=86556&r2=86557&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Mon Nov  9 11:06:23 2009
@@ -115,6 +115,9 @@
   // 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();





More information about the llvm-commits mailing list