Lines Matching refs:getExprLoc
500 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc()))
578 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign)
593 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use)
646 Diag(E->getExprLoc(), diag::err_opencl_half_load_store)
657 Diag(E->getExprLoc(), diag::warn_objc_isa_use)
662 Diag(E->getExprLoc(), diag::warn_objc_isa_use);
683 (void)isCompleteType(E->getExprLoc(), T);
852 E->getExprLoc(), E);
1017 RequireCompleteType(E->getExprLoc(), E->getType(),
1624 Diag(ControllingExpr->getExprLoc(),
3629 Diag(E->getExprLoc(), diag::err_pragma_loop_invalid_argument_type) << QT;
3641 Diag(E->getExprLoc(), diag::err_pragma_loop_invalid_argument_value)
4138 Diag(E->getExprLoc(), diag::warn_side_effects_unevaluated_context);
4141 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(),
4145 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(),
4155 E->getExprLoc(), Context.getBaseElementType(E->getType()),
4171 Diag(E->getExprLoc(), diag::err_sizeof_alignof_function_type)
4176 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(),
4186 Diag(E->getExprLoc(), diag::warn_sizeof_array_param)
4277 S.Diag(E->getExprLoc(), diag::err_sizeof_alignof_typeof_bitfield)
4311 S.Diag(E->getExprLoc(), diag::err_alignof_member_of_incomplete_type)
4404 CSI->addVLATypeCapture(Size->getExprLoc(), VAT, Context.getSizeType());
4506 Diag(E->getExprLoc(), diag::err_openmp_default_simd_align_expr);
4509 Diag(E->getExprLoc(), diag::err_sizeof_alignof_typeof_bitfield) << 0;
4650 Diag(E->getExprLoc(), diag::err_matrix_subscript_comma)
4661 Diag(base->getExprLoc(), diag::err_matrix_separate_incomplete_index)
4707 Diag(idx->getExprLoc(), diag::warn_deprecated_comma_subscript)
4946 Diag(Base->getExprLoc(), diag::err_omp_typecheck_section_value)
4951 auto Res = PerformOpenMPImplicitIntegerConversion(LowerBound->getExprLoc(),
4954 return ExprError(Diag(LowerBound->getExprLoc(),
4961 Diag(LowerBound->getExprLoc(), diag::warn_omp_section_is_char)
4966 PerformOpenMPImplicitIntegerConversion(Length->getExprLoc(), Length);
4968 return ExprError(Diag(Length->getExprLoc(),
4975 Diag(Length->getExprLoc(), diag::warn_omp_section_is_char)
4980 PerformOpenMPImplicitIntegerConversion(Stride->getExprLoc(), Stride);
4982 return ExprError(Diag(Stride->getExprLoc(),
4989 Diag(Stride->getExprLoc(), diag::warn_omp_section_is_char)
4998 Diag(Base->getExprLoc(), diag::err_omp_section_function_type)
5003 if (RequireCompleteType(Base->getExprLoc(), ResultTy,
5014 Diag(LowerBound->getExprLoc(), diag::err_omp_section_not_subset_of_array)
5028 Diag(Length->getExprLoc(), diag::err_omp_section_length_negative)
5052 Diag(Stride->getExprLoc(), diag::err_omp_section_stride_non_positive)
5094 return ExprError(Diag(Base->getExprLoc(),
5116 PerformOpenMPImplicitIntegerConversion(Dim->getExprLoc(), Dim);
5119 Diag(Dim->getExprLoc(), diag::err_omp_typecheck_shaping_not_integer)
5131 Diag(Dim->getExprLoc(), diag::err_omp_shaping_dimension_not_positive)
5230 Diag(Step->getExprLoc(), diag::err_omp_iterator_step_not_integral)
5240 Diag(Step->getExprLoc(), diag::err_omp_iterator_step_constant_zero)
6359 Diag(Fn->getExprLoc(), getLangOpts().CPlusPlus20
6582 Diag(Fn->getExprLoc(), diag::err_anyx86_interrupt_called);
6597 Diag(Fn->getExprLoc(), diag::warn_arm_interrupt_calling_convention);
6604 Diag(Fn->getExprLoc(), diag::warn_anyx86_interrupt_regsave);
6953 checkNonTrivialCUnion(E->getType(), E->getExprLoc(),
6967 E->getInitializer()->getExprLoc());
7158 Diag(Src.get()->getExprLoc(),
7259 Diag(Src.get()->getExprLoc(),
7293 Diag(Src.get()->getExprLoc(),
7572 Diag(PLE->getExprLoc(), diag::err_altivec_empty_initializer);
7659 Diag(E->getExprLoc(),
7702 Result = ActOnBinOp(S, E->getExprLoc(), tok::comma, Result.get(),
7745 SourceLocation loc = NullExpr->getExprLoc();
8205 S.Diag(E->getExprLoc(), diag::err_opencl_ternary_with_block);
8778 opaqueValue = new (Context) OpaqueValueExpr(commonExpr->getExprLoc(),
9514 Diag(RHS.get()->getExprLoc(),
11655 Diag(E.get()->getExprLoc(), diag::warn_pointer_compare)
11657 << FixItHint::CreateReplacement(E.get()->getExprLoc(),
11663 Diag(E.get()->getExprLoc(), diag::warn_pointer_compare)
11665 << FixItHint::CreateReplacement(E.get()->getExprLoc(),
12212 if (XorLHS.get()->getExprLoc().isMacroID() &&
12213 XorRHS.get()->getExprLoc().isMacroID())
12499 !RHS.get()->getExprLoc().isMacroID()) ||
12965 if (LHSExpr->getExprLoc().isMacroID() || RHSExpr->getExprLoc().isMacroID())
13469 Diag(op->getExprLoc(), diag::err_opencl_taking_address_capture);
14046 checkNonTrivialCUnion(LHS.get()->getType(), LHS.get()->getExprLoc(),
14182 Diag(LHS.get()->getExprLoc(), diag::warn_objc_isa_assign)
14190 Diag(LHS.get()->getExprLoc(), diag::warn_objc_isa_assign);
16421 Diag(E->getExprLoc(), diag::warn_dereference_of_noderef_type)
16425 Diag(E->getExprLoc(), diag::warn_dereference_of_noderef_type_no_decl)
18276 checkNonTrivialCUnion(E->getType(), E->getExprLoc(),
18969 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_call)
19061 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_expr)
19161 S.Diag(E->getExprLoc(), diagID)
19243 S.Diag(E->getExprLoc(), diag::err_func_returning_array_function)
19315 S.Diag(E->getExprLoc(), diag::err_unknown_any_function)
19366 S.Diag(E->getExprLoc(), diag::err_unknown_any_var_function_type)
19373 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_decl)
19467 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_expr)