Lines Matching refs:ELoc

965       auto ELoc = E->getExprLoc();  in VisitDeclRefExpr()  local
991 SemaRef.Diag(ELoc, diag::err_omp_reduction_in_task); in VisitDeclRefExpr()
4630 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPPrivateClause() local
4638 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPPrivateClause()
4655 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPPrivateClause()
4660 Diag(ELoc, diag::err_omp_clause_ref_type_arg) in ActOnOpenMPPrivateClause()
4687 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPPrivateClause()
4769 SourceLocation ELoc = in ActOnOpenMPFirstprivateClause() local
4778 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPFirstprivateClause()
4796 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPFirstprivateClause()
4807 Diag(ELoc, diag::err_omp_clause_ref_type_arg) in ActOnOpenMPFirstprivateClause()
4836 Diag(ELoc, diag::err_omp_wrong_dsa) in ActOnOpenMPFirstprivateClause()
4856 Diag(ELoc, diag::err_omp_wrong_dsa) in ActOnOpenMPFirstprivateClause()
4875 Diag(ELoc, diag::err_omp_required_access) in ActOnOpenMPFirstprivateClause()
4904 Diag(ELoc, diag::err_omp_parallel_reduction_in_task_firstprivate) in ActOnOpenMPFirstprivateClause()
4913 VarDecl::Create(Context, CurContext, DE->getLocStart(), ELoc, in ActOnOpenMPFirstprivateClause()
4926 ELoc, VD->getIdentifier(), Type, in ActOnOpenMPFirstprivateClause()
4932 /*RefersToEnclosingVariableOrCapture*/ true, ELoc, Type, in ActOnOpenMPFirstprivateClause()
4940 InitializationKind Kind = InitializationKind::CreateCopy(ELoc, ELoc); in ActOnOpenMPFirstprivateClause()
5002 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPLastprivateClause() local
5010 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPLastprivateClause()
5029 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPLastprivateClause()
5034 Diag(ELoc, diag::err_omp_clause_ref_type_arg) in ActOnOpenMPLastprivateClause()
5053 Diag(ELoc, diag::err_omp_wrong_dsa) in ActOnOpenMPLastprivateClause()
5071 Diag(ELoc, diag::err_omp_required_access) in ActOnOpenMPLastprivateClause()
5134 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPSharedClause() local
5143 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPSharedClause()
5166 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPSharedClause()
5342 auto ELoc = RefExpr->getExprLoc(); in ActOnOpenMPReductionClause() local
5353 Diag(ELoc, diag::err_omp_expected_var_name) << ERange; in ActOnOpenMPReductionClause()
5362 if (RequireCompleteType(ELoc, Type, in ActOnOpenMPReductionClause()
5368 Diag(ELoc, diag::err_omp_reduction_type_array) << Type << ERange; in ActOnOpenMPReductionClause()
5380 Diag(ELoc, diag::err_omp_const_variable) in ActOnOpenMPReductionClause()
5396 Diag(ELoc, diag::err_omp_reduction_ref_type_arg) << ERange; in ActOnOpenMPReductionClause()
5412 Diag(ELoc, diag::err_omp_clause_not_arithmetic_type_arg) in ActOnOpenMPReductionClause()
5423 Diag(ELoc, diag::err_omp_clause_floating_type_arg); in ActOnOpenMPReductionClause()
5444 Diag(ELoc, diag::err_omp_once_referenced) in ActOnOpenMPReductionClause()
5450 Diag(ELoc, diag::err_omp_wrong_dsa) in ActOnOpenMPReductionClause()
5466 Diag(ELoc, diag::err_omp_required_access) in ActOnOpenMPReductionClause()
5474 auto *LHSVD = BuildVarDecl(*this, ELoc, Type, ".reduction.lhs"); in ActOnOpenMPReductionClause()
5475 auto *RHSVD = BuildVarDecl(*this, ELoc, Type, VD->getName()); in ActOnOpenMPReductionClause()
5485 Init = ActOnIntegerConstant(ELoc, /*Val=*/0).get(); in ActOnOpenMPReductionClause()
5492 Init = ActOnIntegerConstant(ELoc, /*Val=*/1).get(); in ActOnOpenMPReductionClause()
5506 Type, ELoc); in ActOnOpenMPReductionClause()
5511 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
5516 Init = CreateBuiltinBinOp(ELoc, BO_Add, Init, Im).get(); in ActOnOpenMPReductionClause()
5538 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
5542 SourceLocation(), Context.getTrivialTypeSourceInfo(Type, ELoc), in ActOnOpenMPReductionClause()
5552 Type, ELoc); in ActOnOpenMPReductionClause()
5588 Diag(ELoc, diag::err_omp_reduction_id_not_compatible) << Type in ActOnOpenMPReductionClause()
5597 auto *LHSDRE = BuildDeclRefExpr(LHSVD, Type, VK_LValue, ELoc).get(); in ActOnOpenMPReductionClause()
5598 auto *RHSDRE = BuildDeclRefExpr(RHSVD, Type, VK_LValue, ELoc).get(); in ActOnOpenMPReductionClause()
5662 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPLinearClause() local
5670 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPLinearClause()
5682 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind) in ActOnOpenMPLinearClause()
5697 if (RequireCompleteType(ELoc, QType, in ActOnOpenMPLinearClause()
5702 Diag(ELoc, diag::err_omp_clause_ref_type_arg) in ActOnOpenMPLinearClause()
5714 Diag(ELoc, diag::err_omp_const_variable) in ActOnOpenMPLinearClause()
5729 Diag(ELoc, diag::err_omp_linear_expected_int_or_ptr) << QType; in ActOnOpenMPLinearClause()
5739 VarDecl *Init = BuildVarDecl(*this, ELoc, DE->getType(), ".linear.start"); in ActOnOpenMPLinearClause()
5862 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPAlignedClause() local
5867 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPAlignedClause()
5883 Diag(ELoc, diag::err_omp_aligned_expected_array_or_ptr) in ActOnOpenMPAlignedClause()
5896 Diag(ELoc, diag::err_omp_aligned_twice) << RefExpr->getSourceRange(); in ActOnOpenMPAlignedClause()
5943 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPCopyinClause() local
5950 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPCopyinClause()
5970 Diag(ELoc, diag::err_omp_required_access) in ActOnOpenMPCopyinClause()
6033 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPCopyprivateClause() local
6040 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange(); in ActOnOpenMPCopyprivateClause()
6064 Diag(ELoc, diag::err_omp_wrong_dsa) in ActOnOpenMPCopyprivateClause()
6077 Diag(ELoc, diag::err_omp_required_access) in ActOnOpenMPCopyprivateClause()