summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-02-12 00:44:43 +0000
committerLang Hames <lhames@gmail.com>2013-02-12 00:44:43 +0000
commit697b0042191d0f8a947b4ad443855fc8b47366fd (patch)
tree96ab2ef6ca4e796ef4b2c419e6a96412f0dfb233 /clang/lib/CodeGen/CodeGenFunction.cpp
parent209d63af48cdbb308420952415b72d4e83784ef3 (diff)
downloadbcm5719-llvm-697b0042191d0f8a947b4ad443855fc8b47366fd.tar.gz
bcm5719-llvm-697b0042191d0f8a947b4ad443855fc8b47366fd.zip
Backing out r174919 while I investigate a self-host bug on Takumi's builder.
llvm-svn: 174925
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 86c79ae848a..ec139df3ef1 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud