diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 17:38:12 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 17:38:12 +0000 |
commit | f481ccafd80aa16d70b8f9a90243eed39f4479c2 (patch) | |
tree | f9e773048c70dc333da6840f7284eb408287e973 /clang/lib/CodeGen/CGClass.cpp | |
parent | db05c2b963ac3abaa532341d1823cbcf63bc0eae (diff) | |
download | bcm5719-llvm-f481ccafd80aa16d70b8f9a90243eed39f4479c2.tar.gz bcm5719-llvm-f481ccafd80aa16d70b8f9a90243eed39f4479c2.zip |
Cleanup; no functionality change.
llvm-svn: 137126
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 2d32b83b128..1acbb0886a0 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1258,10 +1258,8 @@ CodeGenFunction::EmitSynthesizedCXXCopyCtorCall(const CXXConstructorDecl *D, EmitCallArg(Args, *Arg, ArgType); } - QualType ResultType = FPT->getResultType(); - EmitCall(CGM.getTypes().getFunctionInfo(ResultType, Args, - FPT->getExtInfo()), - Callee, ReturnValueSlot(), Args, D); + EmitCall(CGM.getTypes().getFunctionInfo(Args, FPT), Callee, + ReturnValueSlot(), Args, D); } void |