clang: include/clang/Basic/Lambda.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16#ifndef LLVM_CLANG_BASIC_LAMBDA_H

17#define LLVM_CLANG_BASIC_LAMBDA_H

18

20

21

27

28

29

30

31

32

34 LCK_This,

35 LCK_StarThis,

36 LCK_ByCopy,

38 LCK_VLAType

40

41}

42

43#endif

The JSON file list parser is used to communicate input to InstallAPI.

LambdaCaptureKind

The different capture forms in a lambda introducer.

@ LCK_ByCopy

Capturing by copy (a.k.a., by value)

@ LCK_ByRef

Capturing by reference.

@ LCK_VLAType

Capturing variable-length array type.

@ LCK_StarThis

Capturing the *this object by copy.

@ LCK_This

Capturing the *this object by reference.

LambdaCaptureDefault

The default, if any, capture method for a lambda expression.