summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/Lambda.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-09-28 04:02:39 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-09-28 04:02:39 +0000
commit04fa7a33279808dc3e5117c41b5f84c40eeb7362 (patch)
treecc3549e77b4ae35319eafd79b77b3391d006d0a0 /include/clang/Basic/Lambda.h
parent9b072b31ee2f41b8e30d1d22142c9ab72ac5ff1f (diff)
Per latest drafting, switch to implementing init-captures as if by declaring
and capturing a variable declaration, and complete the implementation of them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Lambda.h')
-rw-r--r--include/clang/Basic/Lambda.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/Lambda.h b/include/clang/Basic/Lambda.h
index 29ecb3a167..280ae94fed 100644
--- a/include/clang/Basic/Lambda.h
+++ b/include/clang/Basic/Lambda.h
@@ -34,8 +34,7 @@ enum LambdaCaptureDefault {
enum LambdaCaptureKind {
LCK_This, ///< Capturing the \c this pointer
LCK_ByCopy, ///< Capturing by copy (a.k.a., by value)
- LCK_ByRef, ///< Capturing by reference
- LCK_Init ///< C++1y "init-capture", value specified by an expression
+ LCK_ByRef ///< Capturing by reference
};
} // end namespace clang