Lines Matching refs:ELoc
1300 auto ELoc = E->getExprLoc();
1326 SemaRef.Diag(ELoc, diag::err_omp_reduction_in_task);
6342 SourceLocation ELoc = RefExpr->getExprLoc();
6350 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
6367 if (RequireCompleteType(ELoc, Type,
6382 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
6391 Diag(ELoc, diag::err_omp_variably_modified_type_not_supported)
6476 SourceLocation ELoc =
6485 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
6503 if (RequireCompleteType(ELoc, Type,
6525 Diag(ELoc, diag::err_omp_wrong_dsa)
6545 Diag(ELoc, diag::err_omp_wrong_dsa)
6564 Diag(ELoc, diag::err_omp_required_access)
6593 Diag(ELoc, diag::err_omp_parallel_reduction_in_task_firstprivate)
6620 Diag(ELoc, diag::err_omp_firstprivate_distribute_private_teams);
6631 Diag(ELoc, diag::err_omp_firstprivate_distribute_in_teams_reduction);
6637 Diag(ELoc, diag::err_omp_firstprivate_and_lastprivate_in_distribute);
6647 Diag(ELoc, diag::err_omp_variably_modified_type_not_supported)
6659 auto VDPrivate = buildVarDecl(*this, ELoc, Type, VD->getName(),
6672 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc);
6679 InitializationKind Kind = InitializationKind::CreateCopy(ELoc, ELoc);
6740 SourceLocation ELoc = RefExpr->getExprLoc();
6748 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
6767 if (RequireCompleteType(ELoc, Type,
6782 Diag(ELoc, diag::err_omp_wrong_dsa)
6801 Diag(ELoc, diag::err_omp_required_access)
6844 Diag(ELoc, diag::err_omp_firstprivate_and_lastprivate_in_distribute);
6878 SourceLocation ELoc = RefExpr->getExprLoc();
6887 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
6910 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
7090 auto ELoc = RefExpr->getExprLoc();
7103 Diag(ELoc, diag::err_omp_expected_var_name_or_array_item) << ERange;
7149 if (RequireCompleteType(ELoc, Type,
7155 Diag(ELoc, diag::err_omp_reduction_type_array) << Type << ERange;
7169 Diag(ELoc, diag::err_omp_const_reduction_list_item)
7188 Diag(ELoc, diag::err_omp_reduction_ref_type_arg) << ERange;
7205 Diag(ELoc, diag::err_omp_clause_not_arithmetic_type_arg)
7218 Diag(ELoc, diag::err_omp_clause_floating_type_arg);
7242 Diag(ELoc, diag::err_omp_once_referenced)
7248 Diag(ELoc, diag::err_omp_wrong_dsa)
7264 Diag(ELoc, diag::err_omp_required_access)
7273 auto *LHSVD = buildVarDecl(*this, ELoc, Type, ".reduction.lhs",
7275 auto *RHSVD = buildVarDecl(*this, ELoc, Type, VD->getName(),
7290 auto *PrivateVD = buildVarDecl(*this, ELoc, PrivateTy, VD->getName(),
7301 Init = ActOnIntegerConstant(ELoc, /*Val=*/0).get();
7308 Init = ActOnIntegerConstant(ELoc, /*Val=*/1).get();
7322 Type, ELoc);
7327 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc);
7332 Init = CreateBuiltinBinOp(ELoc, BO_Add, Init, Im).get();
7354 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc);
7358 SourceLocation(), Context.getTrivialTypeSourceInfo(Type, ELoc),
7368 Type, ELoc);
7403 Diag(ELoc, diag::err_omp_reduction_id_not_compatible) << Type
7418 auto *LHSDRE = buildDeclRefExpr(*this, LHSVD, Type, ELoc);
7419 auto *RHSDRE = buildDeclRefExpr(*this, RHSVD, Type, ELoc);
7420 auto *PrivateDRE = buildDeclRefExpr(*this, PrivateVD, PrivateTy, ELoc);
7489 SourceLocation ELoc = RefExpr->getExprLoc();
7497 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
7509 Diag(ELoc, diag::err_omp_wrong_dsa) << getOpenMPClauseName(DVar.CKind)
7525 if (RequireCompleteType(ELoc, QType,
7531 Diag(ELoc, diag::err_omp_wrong_linear_modifier_non_reference)
7539 Diag(ELoc, diag::err_omp_const_variable)
7554 Diag(ELoc, diag::err_omp_linear_expected_int_or_ptr) << QType;
7564 auto *Private = buildVarDecl(*this, ELoc, QType, VD->getName(),
7569 VarDecl *Init = buildVarDecl(*this, ELoc, QType, ".linear.start");
7700 SourceLocation ELoc = RefExpr->getExprLoc();
7705 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
7719 Diag(ELoc, diag::err_omp_aligned_expected_array_or_ptr)
7732 Diag(ELoc, diag::err_omp_aligned_twice) << RefExpr->getSourceRange();
7779 SourceLocation ELoc = RefExpr->getExprLoc();
7786 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
7806 Diag(ELoc, diag::err_omp_required_access)
7871 SourceLocation ELoc = RefExpr->getExprLoc();
7878 Diag(ELoc, diag::err_omp_expected_var_name) << RefExpr->getSourceRange();
7902 Diag(ELoc, diag::err_omp_wrong_dsa)
7915 Diag(ELoc, diag::err_omp_required_access)
7926 Diag(ELoc, diag::err_omp_variably_modified_type_not_supported)
8035 SourceLocation ELoc = RefExpr->getExprLoc();
8048 Diag(ELoc, diag::err_omp_expected_var_name_or_array_item)
8148 SourceLocation ELoc = RE->getExprLoc();
8174 Diag(ELoc, diag::err_omp_expected_var_name_or_array_item)
8196 Diag(ELoc, diag::err_omp_threadprivate_in_map);
8213 Diag(ELoc, diag::err_omp_map_shared_storage) << ELoc;
8233 Diag(ELoc, diag::err_omp_map_shared_storage) << ELoc;