forked from OSchip/llvm-project
Prevent accidental copying of CodeGenFunction and CodeGenModule.
llvm-svn: 65372
This commit is contained in:
parent
b9c9e1d16f
commit
729a8202d0
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue