From 97a937532c24a8ea44317d4fdee26d9701a1e83c Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 7 Aug 2009 20:22:40 +0000 Subject: More synthesis of copy constructors. Work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78402 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CodeGen/CodeGenFunction.cpp') diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 0f155ec648..7c9b3af8d3 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -247,6 +247,7 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD, assert(!ClassDecl->hasUserDeclaredCopyConstructor() && "bogus constructor is being synthesize"); StartFunction(FD, FD->getResultType(), Fn, Args, SourceLocation()); + EmitCopyCtorBody(CD); FinishFunction(); } else { -- cgit v1.2.3-18-g5258