summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit729a8202d0ba660acdc19ddb96420c3363bf2362 (patch)
tree4bf9f0c3f7e54db3aec86169ace907b8f27cc45c /clang/lib/CodeGen/CodeGenModule.h
parentb9c9e1d16f193ca0f2f5f370bf056737d6d3bb6a (diff)
downloadbcm5719-llvm-729a8202d0ba660acdc19ddb96420c3363bf2362.tar.gz
bcm5719-llvm-729a8202d0ba660acdc19ddb96420c3363bf2362.zip
Prevent accidental copying of CodeGenFunction and CodeGenModule.
llvm-svn: 65372
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 3f1aeb80be1..913e4bc4b15 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -62,6 +62,9 @@ namespace CodeGen {
/// CodeGenModule - This class organizes the cross-function state that is used
/// while generating LLVM code.
class CodeGenModule {
+ CodeGenModule(const CodeGenModule&); // DO NOT IMPLEMENT
+ void operator=(const CodeGenModule&); // DO NOT IMPLEMENT
+
typedef std::vector< std::pair<llvm::Constant*, int> > CtorList;
ASTContext &Context;
OpenPOWER on IntegriCloud