summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
committerManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
commit152b4e4652baedfceba1cd8115515629225e713f (patch)
tree5904be09d06fff627d49761321492540291f78bf /lib/CodeGen/CodeGenFunction.cpp
parent28cc16a64a3bbad9e48309eb8b4ee68893cd85d0 (diff)
downloadclang-152b4e4652baedfceba1cd8115515629225e713f.tar.gz
clang-152b4e4652baedfceba1cd8115515629225e713f.tar.bz2
clang-152b4e4652baedfceba1cd8115515629225e713f.tar.xz
Revert "Implement a rudimentary form of generic lambdas."
This reverts commit 606f5d7a99b11957e057e4cd1f55f931f66a42c7. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189004 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 c271d7c626..da8db172f5 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -700,7 +700,7 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
EmitLambdaToBlockPointerBody(Args);
} else if (isa<CXXMethodDecl>(FD) &&
cast<CXXMethodDecl>(FD)->isLambdaStaticInvoker()) {
- // The lambda static invoker function is special, because it forwards or
+ // 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) &&