Home
last modified time | relevance | path

Searched refs:VarExpr (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1158 ExprResult SemaOpenACC::CheckReductionVar(Expr *VarExpr) { in CheckReductionVar() argument
1159 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 …]
H A DSemaExprCXX.cpp8576 CurrentLSI->visitPotentialCaptures([&](ValueDecl *Var, Expr *VarExpr) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() argument
8588 if (CurrentLSI->isVariableExprMarkedAsNonODRUsed(VarExpr) && in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8601 S.MarkCaptureUsedInEnclosingContext(Var, VarExpr->getExprLoc(), *Index); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8612 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h989 void addPotentialCapture(Expr *VarExpr) { in addPotentialCapture() argument
990 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr) || in addPotentialCapture()
991 isa<FunctionParmPackExpr>(VarExpr)); in addPotentialCapture()
992 PotentiallyCapturingExprs.push_back(VarExpr); in addPotentialCapture()
H A DSemaOpenACC.h430 ExprResult ActOnVar(OpenACCClauseKind CK, Expr *VarExpr);
434 ExprResult CheckReductionVar(Expr *VarExpr);
438 bool CheckVarIsPointerType(OpenACCClauseKind ClauseKind, Expr *VarExpr);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp4713 ExprResult VarExpr = in ParseOpenMPVarList() local
4715 if (VarExpr.isUsable()) { in ParseOpenMPVarList()
4716 Vars.push_back(VarExpr.get()); in ParseOpenMPVarList()