aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaLambda.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-09 08:26:42 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-09 08:26:42 +0000
commitb326ca8ffbea96f9cc8a457b0f57be880304a6f5 (patch)
tree88d0757c9105ab4be5c68f44046cab11caa0ffd8 /lib/Sema/SemaLambda.cpp
parent7e545d95bc92157f9f124d95aa2ed66d691d2028 (diff)
Remove the "unsupported" error for lambda expressions. It's annoying,
and rapidly becoming untrue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLambda.cpp')
-rw-r--r--lib/Sema/SemaLambda.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaLambda.cpp b/lib/Sema/SemaLambda.cpp
index afc4d5de27..d59018dedc 100644
--- a/lib/Sema/SemaLambda.cpp
+++ b/lib/Sema/SemaLambda.cpp
@@ -379,7 +379,5 @@ ExprResult Sema::ActOnLambdaExpr(SourceLocation StartLoc,
break;
}
- Diag(StartLoc, diag::err_lambda_unsupported);
-
return MaybeBindToTemporary(Lambda);
}