Lines Matching refs:getExprLoc

219     SemaRef.Diag(TheCall->getExprLoc(), DiagID)  in SemaBuiltinSEHScopeCheck()
459 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in CheckBuiltinFunctionCall()
1121 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInCFAPI()
3251 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag) in EmitFormatDiagnostic()
4605 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction()
4606 Diag(Call->getExprLoc(), diag::note_remove_abs) in CheckAbsoluteValueFunction()
4627 Diag(Call->getExprLoc(), diag::warn_abs_too_small) in CheckAbsoluteValueFunction()
4633 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction()
4646 Diag(Call->getExprLoc(), diag::warn_wrong_absolute_value_type) in CheckAbsoluteValueFunction()
4649 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction()
4791 SizeOfArg->getExprLoc())) { in CheckMemaccessArguments()
4814 SourceLocation SL = SizeOfArg->getExprLoc(); in CheckMemaccessArguments()
4850 DiagRuntimeBehavior(LenExpr->getExprLoc(), Dest, in CheckMemaccessArguments()
4883 Dest->getExprLoc(), Dest, in CheckMemaccessArguments()
4891 Dest->getExprLoc(), Dest, in CheckMemaccessArguments()
4899 Dest->getExprLoc(), Dest, in CheckMemaccessArguments()
6442 S.DiagRuntimeBehavior(E->getExprLoc(), E, in DiagnoseImpCast()
6448 S.Diag(E->getExprLoc(), diag) in DiagnoseImpCast()
6489 S.Diag(FL->getExprLoc(), diag::warn_impcast_literal_float_to_integer) in DiagnoseFloatingLiteralImpCast()
6546 E->getExprLoc())) in DiagnoseNullConversion()
6744 S.DiagRuntimeBehavior(E->getExprLoc(), E, in CheckImplicitConversion()
6931 CC = E->getExprLoc(); in AnalyzeImplicitConversions()
6950 ::CheckBoolLikeConversion(S, SubExpr, BO->getExprLoc()); in AnalyzeImplicitConversions()
6954 ::CheckBoolLikeConversion(S, SubExpr, BO->getExprLoc()); in AnalyzeImplicitConversions()
6992 SemaRef.Diag(E->getExprLoc(), PD); in CheckForReference()
7031 if (E->getExprLoc().isMacroID()) { in DiagnoseAlwaysNonNullPointer()
7033 if (IsInAnyMacroBody(SM, E->getExprLoc()) || in DiagnoseAlwaysNonNullPointer()
7044 Diag(E->getExprLoc(), DiagID) << E->getSourceRange() << Range << IsEqual; in DiagnoseAlwaysNonNullPointer()
7106 Diag(E->getExprLoc(), DiagID) << S.str() << E->getSourceRange() in DiagnoseAlwaysNonNullPointer()
7142 Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange() in DiagnoseAlwaysNonNullPointer()
7149 Diag(E->getExprLoc(), diag::note_function_warning_silence) in DiagnoseAlwaysNonNullPointer()
7178 Diag(E->getExprLoc(), diag::note_function_to_function_call) in DiagnoseAlwaysNonNullPointer()
7439 SemaRef.Diag(Mod->getExprLoc(), in checkUsage()
7442 << O << SourceRange(ModOrUse->getExprLoc()); in checkUsage()
7904 if (!SizeExpr || SizeExpr->getExprLoc().isMacroID()) in IsTailPaddedMemberArray()
8095 Loc = e->getExprLoc(); in setLocsFrom()
8289 S.Diag(capturer->getExprLoc(), diag::warn_arc_retain_cycle) in diagnoseRetainCycle()
9261 Diag(TypeTagExpr->getExprLoc(), in CheckArgumentWithTypeTag()
9285 Diag(ArgumentExpr->getExprLoc(), in CheckArgumentWithTypeTag()
9321 Diag(ArgumentExpr->getExprLoc(), diag::warn_type_safety_type_mismatch) in CheckArgumentWithTypeTag()