diff options
author | Lang Hames <lhames@gmail.com> | 2013-02-12 00:44:43 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-02-12 00:44:43 +0000 |
commit | c2808e705eb8a1a825a5807cabc16d55052c31bd (patch) | |
tree | 8e1064177e8bc76822823d30c730a8c8b300c331 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 72dcecc8c2f9cdd4f0faacc62676d3bb6dba4d02 (diff) |
Backing out r174919 while I investigate a self-host bug on Takumi's builder.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 86c79ae848..ec139df3ef 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -559,11 +559,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, // The lambda "__invoke" function is special, because it forwards or // clones the body of the function call operator (but is actually static). EmitLambdaStaticInvokeFunction(cast<CXXMethodDecl>(FD)); - } else if (FD->isDefaulted() && isa<CXXMethodDecl>(FD) && - cast<CXXMethodDecl>(FD)->isCopyAssignmentOperator()) { - // Implicit copy-assignment gets the same special treatment as implicit - // copy-constructors. - emitImplicitAssignmentOperatorBody(Args); } else EmitFunctionBody(Args); |