diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-07 20:22:40 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-07 20:22:40 +0000 |
commit | 97a937532c24a8ea44317d4fdee26d9701a1e83c (patch) | |
tree | 72bf23f715386546c2f1d1b30b34fc431011d31a /lib/CodeGen/CodeGenFunction.cpp | |
parent | e6e1d609f6a14882be5336005f5d0222ef18b814 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |