• Home
  • Raw
  • Download

Lines Matching refs:PDiag

2009                                    PartialDiagnostic PDiag,
2037 void EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation StringLoc,
2067 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_incomplete_specifier), in HandleIncompleteSpecifier()
2085 EmitFormatDiagnostic(S.PDiag(DiagID) << LM.toString() << CS.toString(), in HandleInvalidLengthModifier()
2099 EmitFormatDiagnostic(S.PDiag(DiagID) << LM.toString() << CS.toString(), in HandleInvalidLengthModifier()
2118 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) in HandleNonStandardLengthModifier()
2129 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) in HandleNonStandardLengthModifier()
2145 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) in HandleNonStandardConversionSpecifier()
2156 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard) in HandleNonStandardConversionSpecifier()
2166 EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_positional_arg), in HandlePosition()
2175 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_positional_specifier) in HandleInvalidPosition()
2183 EmitFormatDiagnostic(S.PDiag(diag::warn_format_zero_positional_specifier), in HandleZeroPosition()
2193 S.PDiag(diag::warn_printf_format_string_contains_null_char), in HandleNullChar()
2217 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_data_arg_not_used), in DoneProcessing()
2249 EmitFormatDiagnostic(S.PDiag(diag::warn_format_invalid_conversion) in HandleInvalidConversionSpecifier()
2262 S.PDiag(diag::warn_format_mix_positional_nonpositional_args), in HandlePositionalNonpositionalArgs()
2273 PartialDiagnostic PDiag = FS.usesPositionalArg() in CheckNumArgs() local
2274 ? (S.PDiag(diag::warn_printf_positional_arg_exceeds_data_args) in CheckNumArgs()
2276 : S.PDiag(diag::warn_printf_insufficient_data_args); in CheckNumArgs()
2278 PDiag, getLocationOfByte(CS.getStart()), /*IsStringLocation*/true, in CheckNumArgs()
2286 void CheckFormatHandler::EmitFormatDiagnostic(PartialDiagnostic PDiag, in EmitFormatDiagnostic() argument
2291 EmitFormatDiagnostic(S, inFunctionCall, Args[FormatIdx], PDiag, in EmitFormatDiagnostic()
2325 PartialDiagnostic PDiag, in EmitFormatDiagnostic() argument
2331 const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag); in EmitFormatDiagnostic()
2338 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag) in EmitFormatDiagnostic()
2426 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_missing_arg) in HandleAmount()
2451 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_asterisk_wrong_type) in HandleAmount()
2481 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_optional_amount) in HandleInvalidAmount()
2496 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_nonsensical_flag) in HandleFlag()
2512 EmitFormatDiagnostic(S.PDiag(diag::warn_printf_ignored_flag) in HandleIgnoredFlag()
2839 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch) in checkFormatExpr()
2891 EmitFormatDiagnostic(S.PDiag(diag::warn_format_argument_needs_cast) in checkFormatExpr()
2901 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch) in checkFormatExpr()
2922 S.PDiag(DiagKind) in checkFormatExpr()
2934 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch) in checkFormatExpr()
2975 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_scanlist_incomplete), in HandleIncompleteScanList()
3024 EmitFormatDiagnostic(S.PDiag(diag::warn_scanf_nonzero_width), in HandleScanfSpecifier()
3084 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch) in HandleScanfSpecifier()
3095 S.PDiag(diag::warn_printf_conversion_argument_type_mismatch) in HandleScanfSpecifier()
3118 PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(), in CheckFormatString()
3133 PDiag(diag::warn_empty_format_string), FExpr->getLocStart(), in CheckFormatString()
3279 PDiag(diag::warn_sizeof_pointer_expr_memaccess) in CheckMemaccessArguments()
3286 PDiag(diag::warn_sizeof_pointer_expr_memaccess_note) in CheckMemaccessArguments()
3301 PDiag(diag::warn_sizeof_pointer_type_memaccess) in CheckMemaccessArguments()
3326 PDiag(diag::warn_dyn_class_memaccess) in CheckMemaccessArguments()
3335 PDiag(diag::warn_arc_object_memaccess) in CheckMemaccessArguments()
3343 PDiag(diag::note_bad_memaccess_silence) in CheckMemaccessArguments()
4615 S.PDiag(diag::warn_mixed_sign_comparison) in AnalyzeComparison()
4702 S.PDiag(diag) in DiagnoseImpCast()
4988 S.PDiag(diag::warn_impcast_integer_precision_constant) in CheckImplicitConversion()
5896 PDiag(DiagID) << index.toString(10, true) in CheckArrayAccess()
5908 PDiag(DiagID) << index.toString(10, true) in CheckArrayAccess()
5925 PDiag(diag::note_array_index_out_of_bounds) in CheckArrayAccess()