Lambda.h (261991) | Lambda.h (280031) |
---|---|
1//===--- Lambda.h - Types for C++ Lambdas -----------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 20 unchanged lines hidden (view full) --- 29/// \brief The different capture forms in a lambda introducer 30/// 31/// C++11 allows capture of \c this, or of local variables by copy or 32/// by reference. C++1y also allows "init-capture", where the initializer 33/// is an expression. 34enum LambdaCaptureKind { 35 LCK_This, ///< Capturing the \c this pointer 36 LCK_ByCopy, ///< Capturing by copy (a.k.a., by value) | 1//===--- Lambda.h - Types for C++ Lambdas -----------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 20 unchanged lines hidden (view full) --- 29/// \brief The different capture forms in a lambda introducer 30/// 31/// C++11 allows capture of \c this, or of local variables by copy or 32/// by reference. C++1y also allows "init-capture", where the initializer 33/// is an expression. 34enum LambdaCaptureKind { 35 LCK_This, ///< Capturing the \c this pointer 36 LCK_ByCopy, ///< Capturing by copy (a.k.a., by value) |
37 LCK_ByRef ///< Capturing by reference | 37 LCK_ByRef, ///< Capturing by reference 38 LCK_VLAType ///< Capturing variable-length array type |
38}; 39 40} // end namespace clang 41 42#endif // LLVM_CLANG_BASIC_LAMBDA_H | 39}; 40 41} // end namespace clang 42 43#endif // LLVM_CLANG_BASIC_LAMBDA_H |