aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-07 23:51:33 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-07 23:51:33 +0000
commitca28361fb0a72c50e0a400fae2fad9520e61c0a5 (patch)
tree48acea71754bc4c2f006a484bcfc8a0281f7d5ab /lib/CodeGen/CodeGenFunction.cpp
parent112a0a8ddf23f6d25e0920002d5d4c1df0515f86 (diff)
Synthesized copy constructor now generates code for
copying non-virtual base classes which have non-trivial constructor. Work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index 7c9b3af8d3..0a3d9d4be9 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -247,7 +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);
+ EmitCopyCtorBody(CD, Args);
FinishFunction();
}
else {