]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/include/clang/Basic/Lambda.h
1 //===--- Lambda.h - Types for C++ Lambdas -----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// \brief Defines several types used to describe C++ lambda expressions
12 /// that are shared between the parser and AST.
14 //===----------------------------------------------------------------------===//
17 #ifndef LLVM_CLANG_BASIC_LAMBDA_H
18 #define LLVM_CLANG_BASIC_LAMBDA_H
22 /// \brief The default, if any, capture method for a lambda expression.
23 enum LambdaCaptureDefault
{
29 /// \brief The different capture forms in a lambda introducer: 'this' or a
30 /// copied or referenced variable.
31 enum LambdaCaptureKind
{
37 } // end namespace clang
39 #endif // LLVM_CLANG_BASIC_LAMBDA_H