Home
last modified time | relevance | path

Searched refs:CaptureExpr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidBindCheck.cpp40 enum CaptureExpr { CE_None, CE_Var, CE_InitExpression }; enum
67 CaptureExpr CE = CE_None;
95 CaptureExpr CE = CE_None;
586 CaptureMode CM, CaptureExpr CE, StringRef Identifier, in emitCapture()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1724 Expr *CaptureExpr, bool WithInit, in buildCaptureDecl() argument
1726 assert(CaptureExpr); in buildCaptureDecl()
1728 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl()
1730 if (CaptureExpr->getObjectKind() == OK_Ordinary && CaptureExpr->isGLValue()) { in buildCaptureDecl()
1736 S.CreateBuiltinUnaryOp(CaptureExpr->getExprLoc(), UO_AddrOf, Init); in buildCaptureDecl()
1752 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr, in buildCapture() argument
1758 CD = buildCaptureDecl(S, D->getIdentifier(), CaptureExpr, WithInit, in buildCapture()
1761 CaptureExpr->getExprLoc()); in buildCapture()
1764 static ExprResult buildCapture(Sema &S, Expr *CaptureExpr, DeclRefExpr *&Ref) { in buildCapture() argument
1768 CaptureExpr, /*WithInit=*/true, /*AsExpression=*/true); in buildCapture()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp2589 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr,
4178 Expr *CaptureExpr, bool WithInit, in buildCaptureDecl() argument
4180 assert(CaptureExpr); in buildCaptureDecl()
4182 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl()
4184 if (CaptureExpr->getObjectKind() == OK_Ordinary && CaptureExpr->isGLValue()) { in buildCaptureDecl()
4190 S.CreateBuiltinUnaryOp(CaptureExpr->getExprLoc(), UO_AddrOf, Init); in buildCaptureDecl()
4198 CaptureExpr->getBeginLoc()); in buildCaptureDecl()
4207 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr, in buildCapture() argument
4213 CD = buildCaptureDecl(S, D->getIdentifier(), CaptureExpr, WithInit, in buildCapture()
4216 CaptureExpr->getExprLoc()); in buildCapture()
[all …]