Home
last modified time | relevance | path

Searched refs:TryCaptureKind (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp212 /*ExprVarIsUsedInLoc*/ SourceLocation(), TryCaptureKind::Implicit, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
1348 TryCaptureKind Kind = C->Kind == LCK_ByRef in ActOnLambdaExpressionAfterIntroducer()
1349 ? TryCaptureKind::ExplicitByRef in ActOnLambdaExpressionAfterIntroducer()
1350 : TryCaptureKind::ExplicitByVal; in ActOnLambdaExpressionAfterIntroducer()
H A DSemaExpr.cpp18585 SemaRef.tryCaptureVariable(V, Loc, TryCaptureKind::Implicit, in MarkVarDeclODRUsed()
18890 const bool RefersToCapturedVariable, TryCaptureKind Kind, bool IsTopScope, in captureInCapturedRegion()
18894 if (IsTopScope && Kind != TryCaptureKind::Implicit) { in captureInCapturedRegion()
18895 ByRef = (Kind == TryCaptureKind::ExplicitByRef); in captureInCapturedRegion()
18931 const TryCaptureKind Kind, in captureInLambda()
18936 if (IsTopScope && Kind != TryCaptureKind::Implicit) { in captureInLambda()
18937 ByRef = (Kind == TryCaptureKind::ExplicitByRef); in captureInLambda()
19137 ValueDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable()
19215 bool Explicit = (Kind != TryCaptureKind::Implicit); in tryCaptureVariable()
19446 TryCaptureKind Kind, SourceLocation EllipsisLoc) { in tryCaptureVariable()
[all …]
H A DSemaExprCXX.cpp7635 if (S.tryCaptureVariable(Var, ExprLoc, TryCaptureKind::Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
7641 S.tryCaptureVariable(Var, ExprLoc, TryCaptureKind::Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DTreeTransform.h15612 TryCaptureKind Kind = C->isImplicit() ? TryCaptureKind::Implicit in TransformLambdaExpr()
15614 ? TryCaptureKind::ExplicitByVal in TransformLambdaExpr()
15615 : TryCaptureKind::ExplicitByRef; in TransformLambdaExpr()
H A DSemaOpenMP.cpp5570 TryCaptureKind::ExplicitByVal, {}); in buildLoopVarFunc()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h649 enum class TryCaptureKind { Implicit, ExplicitByVal, ExplicitByRef }; enum
7056 TryCaptureKind Kind, SourceLocation EllipsisLoc,
7063 TryCaptureKind Kind = TryCaptureKind::Implicit,