Lines Matching defs:PDiag
2009 PartialDiagnostic PDiag,
2037 void EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation StringLoc,
2067 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_incomplete_specifier),
2085 EmitFormatDiagnostic(S.PDiag(DiagID) << LM.toString() << CS.toString(),
2099 EmitFormatDiagnostic(S.PDiag(DiagID) << LM.toString() << CS.toString(),
2118 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard)
2129 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard)
2145 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard)
2156 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard)
2166 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_positional_arg),
2175 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_positional_specifier)
2183 EmitFormatDiagnostic(S.PDiag(diag::warn_format_zero_positional_specifier),
2193 S.PDiag(diag::warn_printf_format_string_contains_null_char),
2217 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_data_arg_not_used),
2249 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_conversion)
2262 S.PDiag(diag::warn_format_mix_positional_nonpositional_args),
2273 PartialDiagnostic PDiag = FS.usesPositionalArg()
2274 ? (S.PDiag(diag::warn_printf_positional_arg_exceeds_data_args)
2276 : S.PDiag(diag::warn_printf_insufficient_data_args);
2278 PDiag, getLocationOfByte(CS.getStart()), /*IsStringLocation*/true,
2286 void CheckFormatHandler::EmitFormatDiagnostic(PartialDiagnostic PDiag,
2291 EmitFormatDiagnostic(S, inFunctionCall, Args[FormatIdx], PDiag,
2306 /// \param PDiag the callee should already have provided any strings for the
2316 /// be used with PDiag.
2325 PartialDiagnostic PDiag,
2331 const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag);
2338 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
2426 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_missing_arg)
2451 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_wrong_type)
2481 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_optional_amount)
2496 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_flag)
2512 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_ignored_flag)
2839 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2891 EmitFormatDiagnostic(S.PDiag(diag::warn_format_argument_needs_cast)
2901 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2922 S.PDiag(DiagKind)
2934 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2975 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_scanlist_incomplete),
3024 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_nonzero_width),
3084 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
3095 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
3118 PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(),
3133 PDiag(diag::warn_empty_format_string), FExpr->getLocStart(),
3279 PDiag(diag::warn_sizeof_pointer_expr_memaccess)
3286 PDiag(diag::warn_sizeof_pointer_expr_memaccess_note)
3301 PDiag(diag::warn_sizeof_pointer_type_memaccess)
3326 PDiag(diag::warn_dyn_class_memaccess)
3335 PDiag(diag::warn_arc_object_memaccess)
3343 PDiag(diag::note_bad_memaccess_silence)
4615 S.PDiag(diag::warn_mixed_sign_comparison)
4702 S.PDiag(diag)
4988 S.PDiag(diag::warn_impcast_integer_precision_constant)
5896 PDiag(DiagID) << index.toString(10, true)
5908 PDiag(DiagID) << index.toString(10, true)
5925 PDiag(diag::note_array_index_out_of_bounds)