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 | 40134e71bee0d7a233925b8ed67954ccc5ede6cf (patch) | |
tree | ef497180f518cffc8355b632c444120d30e87430 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a4d94b1a95454899f696388f6a11db99d707cbdd (diff) | |
download | bcm5719-llvm-40134e71bee0d7a233925b8ed67954ccc5ede6cf.tar.gz bcm5719-llvm-40134e71bee0d7a233925b8ed67954ccc5ede6cf.zip |
More synthesis of copy constructors. Work in progress.
llvm-svn: 78402
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 0f155ec648b..7c9b3af8d3f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/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 { |