Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DAvoidBindCheck.cpp40 enum CaptureExpr { CE_None, CE_Var, CE_InitExpression }; enum
67 CaptureExpr CE = CE_None;
95 CaptureExpr CE = CE_None;
585 CaptureMode CM, CaptureExpr CE, StringRef Identifier, in emitCapture()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp2791 static DeclRefExpr *buildCapture(Sema &S, ValueDecl *D, Expr *CaptureExpr,
4575 assert(CaptureExpr); in buildCaptureDecl()
4577 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl()
4579 if (CaptureExpr->getObjectKind() == OK_Ordinary && CaptureExpr->isGLValue()) { in buildCaptureDecl()
4593 CaptureExpr->getBeginLoc()); in buildCaptureDecl()
4608 CD = buildCaptureDecl(S, D->getIdentifier(), CaptureExpr, WithInit, in buildCapture()
4612 CaptureExpr->getExprLoc()); in buildCapture()
4616 CaptureExpr = S.DefaultLvalueConversion(CaptureExpr).get(); in buildCapture()
4619 S, &S.getASTContext().Idents.get(".capture_expr."), CaptureExpr, in buildCapture()
4622 CaptureExpr->getExprLoc()); in buildCapture()
[all …]