Lines Matching refs:PDiag
1820 PartialDiagnostic PDiag,
1848 void EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation StringLoc,
1878 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_incomplete_specifier),
1887 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) << LM.toString()
1897 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) << CS.toString()
1908 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_conversion_spec)
1917 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_positional_arg),
1926 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_positional_specifier)
1934 EmitFormatDiagnostic(S.PDiag(diag::warn_format_zero_positional_specifier),
1944 S.PDiag(diag::warn_printf_format_string_contains_null_char),
1963 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_data_arg_not_used),
1993 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_conversion)
2006 S.PDiag(diag::warn_format_mix_positional_nonpositional_args),
2017 PartialDiagnostic PDiag = FS.usesPositionalArg()
2018 ? (S.PDiag(diag::warn_printf_positional_arg_exceeds_data_args)
2020 : S.PDiag(diag::warn_printf_insufficient_data_args);
2022 PDiag, getLocationOfByte(CS.getStart()), /*IsStringLocation*/true,
2030 void CheckFormatHandler::EmitFormatDiagnostic(PartialDiagnostic PDiag,
2035 EmitFormatDiagnostic(S, inFunctionCall, Args[FormatIdx], PDiag,
2050 /// \param PDiag the callee should already have provided any strings for the
2060 /// be used with PDiag.
2069 PartialDiagnostic PDiag,
2075 S.Diag(Loc, PDiag) << StringRange << FixIt;
2077 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
2148 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_missing_arg)
2170 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_wrong_type)
2200 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_optional_amount)
2215 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_flag)
2231 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_ignored_flag)
2333 EmitFormatDiagnostic(S.PDiag(diag::warn_format_nonsensical_length)
2352 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_write_back),
2396 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2408 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2451 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_scanlist_incomplete),
2500 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_nonzero_width),
2526 EmitFormatDiagnostic(S.PDiag(diag::warn_format_nonsensical_length)
2564 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2575 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch)
2598 PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(),
2613 PDiag(diag::warn_empty_format_string), FExpr->getLocStart(),
2740 PDiag(diag::warn_sizeof_pointer_expr_memaccess)
2755 PDiag(diag::warn_sizeof_pointer_type_memaccess)
2780 PDiag(diag::warn_dyn_class_memaccess)
2789 PDiag(diag::warn_arc_object_memaccess)
2797 PDiag(diag::note_bad_memaccess_silence)
4017 S.PDiag(diag)
4227 S.PDiag(diag::warn_impcast_integer_precision_constant)
4665 PDiag(DiagID) << index.toString(10, true)
4677 PDiag(DiagID) << index.toString(10, true)
4694 PDiag(diag::note_array_index_out_of_bounds)