Searched refs:VarExpr (Results 1 – 5 of 5) sorted by relevance
1158 ExprResult SemaOpenACC::CheckReductionVar(Expr *VarExpr) { in CheckReductionVar() argument1159 VarExpr = VarExpr->IgnoreParenCasts(); in CheckReductionVar()1165 if (isa<ArraySectionExpr>(VarExpr)) { in CheckReductionVar()1166 Expr *ASExpr = VarExpr; in CheckReductionVar()1171 Diag(VarExpr->getExprLoc(), diag::err_acc_reduction_type) in CheckReductionVar()1175 } else if (auto *RD = VarExpr->getType()->getAsRecordDecl()) { in CheckReductionVar()1177 Diag(VarExpr->getExprLoc(), diag::err_acc_reduction_composite_type) in CheckReductionVar()1178 << /*not class or struct*/ 0 << VarExpr->getType(); in CheckReductionVar()1183 Diag(VarExpr->getExprLoc(), diag::err_acc_reduction_composite_type) in CheckReductionVar()1184 << /*incomplete*/ 1 << VarExpr->getType(); in CheckReductionVar()[all …]
8576 CurrentLSI->visitPotentialCaptures([&](ValueDecl *Var, Expr *VarExpr) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() argument8588 if (CurrentLSI->isVariableExprMarkedAsNonODRUsed(VarExpr) && in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()8601 S.MarkCaptureUsedInEnclosingContext(Var, VarExpr->getExprLoc(), *Index); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()8612 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
989 void addPotentialCapture(Expr *VarExpr) { in addPotentialCapture() argument990 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr) || in addPotentialCapture()991 isa<FunctionParmPackExpr>(VarExpr)); in addPotentialCapture()992 PotentiallyCapturingExprs.push_back(VarExpr); in addPotentialCapture()
430 ExprResult ActOnVar(OpenACCClauseKind CK, Expr *VarExpr);434 ExprResult CheckReductionVar(Expr *VarExpr);438 bool CheckVarIsPointerType(OpenACCClauseKind ClauseKind, Expr *VarExpr);
4713 ExprResult VarExpr = in ParseOpenMPVarList() local4715 if (VarExpr.isUsable()) { in ParseOpenMPVarList()4716 Vars.push_back(VarExpr.get()); in ParseOpenMPVarList()