From 15233e5a4d98b66b3c6cfcc4e6413ad776a79481 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 26 Nov 2009 07:40:08 +0000 Subject: Simplify and fix up the handling of implicit constructors, copy assignment operators, and destructors. Avoids generating declarations/definitions of trivial constructors/destructors, and makes sure the trivial copy assignment operator is generated when necessary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89943 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 5c3e633daa..78bc4ed845 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -428,9 +428,6 @@ private: llvm::Constant *GetOrCreateLLVMGlobal(const char *MangledName, const llvm::PointerType *PTy, const VarDecl *D); - void DeferredCopyConstructorToEmit(GlobalDecl D); - void DeferredCopyAssignmentToEmit(GlobalDecl D); - void DeferredDestructorToEmit(GlobalDecl D); /// SetCommonAttributes - Set attributes which are common to any /// form of a global definition (alias, Objective-C method, -- cgit v1.2.3