Lines Matching refs:getExprLoc
525 Diag(E->getExprLoc(), diag::err_opencl_taking_function_address); in DefaultFunctionArrayConversion()
531 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc())) in DefaultFunctionArrayConversion()
603 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign) << in DiagnoseDirectIsaAccess()
617 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use) << in DiagnoseDirectIsaAccess()
665 Diag(E->getExprLoc(), diag::err_opencl_half_load_store) in DefaultLvalueConversion()
676 Diag(E->getExprLoc(), diag::warn_objc_isa_use) << in DefaultLvalueConversion()
681 Diag(E->getExprLoc(), diag::warn_objc_isa_use); in DefaultLvalueConversion()
702 (void)isCompleteType(E->getExprLoc(), T); in DefaultLvalueConversion()
840 E->getExprLoc(), E); in DefaultArgumentPromotion()
996 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion()
1439 Diag(ControllingExpr->getExprLoc(), in CreateGenericSelectionExpr()
3223 Diag(E->getExprLoc(), diag::err_pragma_loop_invalid_argument_type) << QT; in CheckLoopHintExpr()
3235 Diag(E->getExprLoc(), diag::err_pragma_loop_invalid_argument_value) in CheckLoopHintExpr()
3625 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3629 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3638 if (RequireCompleteType(E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3654 Diag(E->getExprLoc(), diag::err_sizeof_alignof_function_type) in CheckUnaryExprOrTypeTraitOperand()
3663 Diag(E->getExprLoc(), diag::warn_side_effects_unevaluated_context); in CheckUnaryExprOrTypeTraitOperand()
3665 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3675 Diag(E->getExprLoc(), diag::warn_sizeof_array_param) in CheckUnaryExprOrTypeTraitOperand()
3767 S.Diag(E->getExprLoc(), diag::err_sizeof_alignof_typeof_bitfield) in CheckAlignOfExpr()
3800 S.Diag(E->getExprLoc(), diag::err_alignof_member_of_incomplete_type) in CheckAlignOfExpr()
3896 auto ExprLoc = Size->getExprLoc(); in captureVariablyModifiedType()
4012 Diag(E->getExprLoc(), diag::err_openmp_default_simd_align_expr); in CreateUnaryExprOrTypeTraitExpr()
4015 Diag(E->getExprLoc(), diag::err_sizeof_alignof_typeof_bitfield) << 0; in CreateUnaryExprOrTypeTraitExpr()
4260 Diag(Base->getExprLoc(), diag::err_omp_typecheck_section_value) in ActOnOMPArraySectionExpr()
4265 auto Res = PerformOpenMPImplicitIntegerConversion(LowerBound->getExprLoc(), in ActOnOMPArraySectionExpr()
4268 return ExprError(Diag(LowerBound->getExprLoc(), in ActOnOMPArraySectionExpr()
4275 Diag(LowerBound->getExprLoc(), diag::warn_omp_section_is_char) in ActOnOMPArraySectionExpr()
4280 PerformOpenMPImplicitIntegerConversion(Length->getExprLoc(), Length); in ActOnOMPArraySectionExpr()
4282 return ExprError(Diag(Length->getExprLoc(), in ActOnOMPArraySectionExpr()
4289 Diag(Length->getExprLoc(), diag::warn_omp_section_is_char) in ActOnOMPArraySectionExpr()
4298 Diag(Base->getExprLoc(), diag::err_omp_section_function_type) in ActOnOMPArraySectionExpr()
4303 if (RequireCompleteType(Base->getExprLoc(), ResultTy, in ActOnOMPArraySectionExpr()
4313 Diag(LowerBound->getExprLoc(), diag::err_omp_section_negative) in ActOnOMPArraySectionExpr()
4327 Diag(Length->getExprLoc(), diag::err_omp_section_negative) in ActOnOMPArraySectionExpr()
5315 Diag(Fn->getExprLoc(), diag::err_anyx86_interrupt_called); in BuildResolvedCallExpr()
5971 Diag(PLE->getExprLoc(), diag::err_altivec_empty_initializer); in ActOnCastExpr()
6056 Diag(E->getExprLoc(), in BuildVectorLiteral()
6099 Result = ActOnBinOp(S, E->getExprLoc(), tok::comma, Result.get(), in MaybeConvertParenListExprToParenExpr()
6143 SourceLocation loc = NullExpr->getExprLoc(); in DiagnoseConditionalForNull()
6602 S.Diag(E->getExprLoc(), diag::err_opencl_ternary_with_block); in checkBlockType()
7064 opaqueValue = new (Context) OpaqueValueExpr(commonExpr->getExprLoc(), in ActOnConditionalOp()
7769 Diag(PRE->getExprLoc(), diag::warn_atprotocol_protocol) << PDecl->getName(); in CheckSingleAssignmentConstraints()
9574 !RHS.get()->getExprLoc().isMacroID()) || in CheckLogicalOperands()
10379 Diag(op->getExprLoc(), diag::err_opencl_taking_function_address); in CheckAddressOfOperand()
10960 Diag(LHS.get()->getExprLoc(), diag::warn_objc_isa_assign) << in CreateBuiltinBinOp()
10966 Diag(LHS.get()->getExprLoc(), diag::warn_objc_isa_assign); in CreateBuiltinBinOp()
14449 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_call) in VisitExpr()
14541 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_expr) in VisitExpr()
14634 S.Diag(E->getExprLoc(), diagID) in VisitCallExpr()
14716 S.Diag(E->getExprLoc(), diag::err_func_returning_array_function) in VisitObjCMessageExpr()
14788 S.Diag(E->getExprLoc(), diag::err_unknown_any_function) in resolveDecl()
14841 S.Diag(E->getExprLoc(), diag::err_unknown_any_var_function_type) in resolveDecl()
14848 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_decl) in resolveDecl()
14942 S.Diag(E->getExprLoc(), diag::err_unsupported_unknown_any_expr) in diagnoseUnknownAnyExpr()