aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-02-24 04:21:31 +0000
committerAnders Carlsson <andersca@mac.com>2009-02-24 04:21:31 +0000
commit8a219ceda2b5afd447e7199b9c53079bead31b89 (patch)
treeae96e34a7f260a70c4f4c8be1f14fc86b3f8ad2a /lib/CodeGen/CodeGenFunction.h
parent911e0af45196b15e9dd8557ca9ebf00fb01c4fdc (diff)
Prevent accidental copying of CodeGenFunction and CodeGenModule.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index b3d6a327eb..e2b4fedfd5 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -62,6 +62,8 @@ namespace CodeGen {
/// CodeGenFunction - This class organizes the per-function state that is used
/// while generating LLVM code.
class CodeGenFunction {
+ CodeGenFunction(const CodeGenFunction&); // DO NOT IMPLEMENT
+ void operator=(const CodeGenFunction&); // DO NOT IMPLEMENT
public:
CodeGenModule &CGM; // Per-module state.
TargetInfo &Target;