/external/clang/include/clang/AST/ |
D | DependentDiagnostic.h | 47 const PartialDiagnostic &PDiag) { in Create() argument 48 DependentDiagnostic *DD = Create(Context, Parent, PDiag); in Create() 97 DependentDiagnostic(const PartialDiagnostic &PDiag, in DependentDiagnostic() argument 99 : Diag(PDiag, Storage) {} in DependentDiagnostic() 103 const PartialDiagnostic &PDiag);
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 165 PDiag(DiagID), PDiag(diag::note_previous_declaration), in CheckEquivalentExceptionSpec() 335 return CheckEquivalentExceptionSpec(PDiag(DiagID), in CheckEquivalentExceptionSpec() 336 PDiag(diag::note_previous_declaration), in CheckEquivalentExceptionSpec() 744 PDiag(diag::err_deep_exception_specs_differ) << 0, in CheckParamExceptionSpec() 745 PDiag(), in CheckParamExceptionSpec() 756 PDiag(diag::err_deep_exception_specs_differ) << 1, in CheckParamExceptionSpec() 757 PDiag(), in CheckParamExceptionSpec() 782 return CheckExceptionSpecSubset(PDiag(diag::err_incompatible_exception_specs), in CheckExceptionSpecCompatibility() 783 PDiag(), ToFunc, in CheckExceptionSpecCompatibility() 806 return CheckExceptionSpecSubset(PDiag(DiagID), in CheckOverridingFunctionExceptionSpec() [all …]
|
D | SemaChecking.cpp | 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() [all …]
|
D | AnalysisBasedWarnings.cpp | 1274 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << LockName); in warnLockMismatch() 1299 S.PDiag(diag::warn_cannot_resolve_lock) << Loc); in handleInvalidLockExp() 1331 PartialDiagnosticAt Warning(LocEndOfScope, S.PDiag(DiagID) << LockName); in handleMutexHeldEndOfScope() 1332 PartialDiagnosticAt Note(LocLocked, S.PDiag(diag::note_locked_here)); in handleMutexHeldEndOfScope() 1340 Loc1, S.PDiag(diag::warn_lock_exclusive_and_shared) << LockName); in handleExclusiveAndShared() 1342 Loc2, S.PDiag(diag::note_lock_exclusive_and_shared) << LockName); in handleExclusiveAndShared() 1353 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleNoMutexHeld() 1374 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleMutexNotHeld() 1376 PartialDiagnosticAt Note(Loc, S.PDiag(diag::note_found_mutex_near_match) in handleMutexNotHeld() 1391 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) in handleMutexNotHeld() [all …]
|
D | SemaAccess.cpp | 1586 entity.setDiag(PDiag()); in isSpecialMemberAccessibleForDeletion() 1599 const PartialDiagnostic &PDiag, in CheckDestructorAccess() argument 1615 Entity.setDiag(PDiag); // TODO: avoid copy in CheckDestructorAccess() 1629 PartialDiagnostic PD(PDiag()); in CheckConstructorAccess() 1632 PD = PDiag(IsCopyBindingRefToTemp in CheckConstructorAccess() 1639 PD = PDiag(diag::err_access_base_ctor); in CheckConstructorAccess() 1646 PD = PDiag(diag::err_access_field_ctor); in CheckConstructorAccess() 1653 PD = PDiag(diag::err_access_lambda_capture); in CheckConstructorAccess()
|
D | SemaStmt.cpp | 265 DiagRuntimeBehavior(Loc, 0, PDiag(DiagID) << R1 << R2); in DiagnoseUnusedExprResult() 1359 PartialDiagnostic PDiag = S.PDiag(diag::warn_variables_not_in_loop_body); in CheckForLoopConditionalStatement() local 1385 PDiag << 0; in CheckForLoopConditionalStatement() 1387 PDiag << Decls.size(); in CheckForLoopConditionalStatement() 1391 PDiag << (*I)->getDeclName(); in CheckForLoopConditionalStatement() 1400 PDiag << *I; in CheckForLoopConditionalStatement() 1402 PDiag << Second->getSourceRange(); in CheckForLoopConditionalStatement() 1404 S.Diag(Ranges.begin()->getBegin(), PDiag); in CheckForLoopConditionalStatement()
|
D | SemaOverload.cpp | 2505 void Sema::HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, in HandleFunctionTypeMismatch() argument 2509 PDiag << ft_default; in HandleFunctionTypeMismatch() 2518 PDiag << ft_different_class << QualType(ToMember->getClass(), 0) in HandleFunctionTypeMismatch() 2538 PDiag << ft_default; in HandleFunctionTypeMismatch() 2544 PDiag << ft_default; in HandleFunctionTypeMismatch() 2553 PDiag << ft_default; in HandleFunctionTypeMismatch() 2558 PDiag << ft_parameter_arity << ToFunction->getNumArgs() in HandleFunctionTypeMismatch() 2566 PDiag << ft_parameter_mismatch << ArgPos + 1 in HandleFunctionTypeMismatch() 2575 PDiag << ft_return_type << ToFunction->getResultType() in HandleFunctionTypeMismatch() 2583 PDiag << ft_qualifer_mismatch << ToQuals << FromQuals; in HandleFunctionTypeMismatch() [all …]
|
D | SemaExpr.cpp | 446 S.PDiag(diag::warn_indirection_through_null) in CheckForNullPointerDereference() 449 S.PDiag(diag::note_indirection_through_null)); in CheckForNullPointerDereference() 675 PDiag(diag::warn_cxx98_compat_pass_non_pod_arg_to_vararg) in variadicArgumentPODCheck() 681 PDiag(diag::err_cannot_pass_objc_interface_to_vararg) in variadicArgumentPODCheck() 685 PDiag(diag::warn_cannot_pass_non_pod_arg_to_vararg) in variadicArgumentPODCheck() 5401 Self.PDiag(diag::note_precedence_silence) in DiagnoseConditionalPrecedence() 5406 Self.PDiag(diag::note_precedence_conditional_first), in DiagnoseConditionalPrecedence() 6267 DiagRuntimeBehavior(Loc, RHS.get(), PDiag(diag::warn_division_by_zero) in CheckMultiplyDivideOperands() 6295 DiagRuntimeBehavior(Loc, RHS.get(), PDiag(diag::warn_remainder_by_zero) in CheckRemainderOperands() 6660 S.PDiag(diag::warn_shift_negative) in DiagnoseBadShiftValues() [all …]
|
D | SemaInit.cpp | 4659 PartialDiagnostic Diag = S.PDiag(diag::warn_cxx98_compat_temp_copy) in CheckCXX98CompatAccessibleCopy() 5204 S.PDiag(diag::err_access_dtor_temp) << T); in Perform() 5477 S.PDiag(diag::err_access_dtor_temp) << E); in Perform() 5744 PartialDiagnostic PDiag = S.PDiag(diag::err_init_conversion_failed) in Diagnose() local 5750 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose() 5751 S.Diag(Kind.getLocation(), PDiag); in Diagnose()
|
D | SemaExprCXX.cpp | 641 PDiag(diag::err_access_dtor_exception) << Ty); in CheckCXXThrowOperand() 1398 PDiag(diag::err_access_dtor) in BuildCXXNew() 2208 PDiag(diag::err_access_dtor) << PointeeElem); in ActOnCXXDelete() 2440 PDiag(diag::err_typecheck_ambiguous_condition) in PerformImplicitConversion() 4725 PDiag(diag::err_access_dtor_temp) in MaybeBindToTemporary() 4880 PDiag(diag::err_access_dtor_temp) in ActOnDecltypeExpression()
|
D | SemaTemplate.cpp | 5986 PDiag(diag::err_function_template_spec_no_match) in CheckFunctionTemplateSpecialization() 5988 PDiag(diag::err_function_template_spec_ambiguous) in CheckFunctionTemplateSpecialization() 5990 PDiag(diag::note_function_template_spec_matched)); in CheckFunctionTemplateSpecialization() 6838 PDiag(diag::err_explicit_instantiation_not_known) << Name, in ActOnExplicitInstantiation() 6839 PDiag(diag::err_explicit_instantiation_ambiguous) << Name, in ActOnExplicitInstantiation() 6840 PDiag(diag::note_explicit_instantiation_candidate)); in ActOnExplicitInstantiation()
|
D | SemaDeclCXX.cpp | 3603 PDiag(diag::err_access_dtor_field) in MarkBaseAndMemberDestructorsReferenced() 3635 PDiag(diag::err_access_dtor_base) in MarkBaseAndMemberDestructorsReferenced() 3665 PDiag(diag::err_access_dtor_vbase) in MarkBaseAndMemberDestructorsReferenced() 4432 PDiag(diag::err_incorrect_defaulted_exception_spec) in CheckExplicitlyDefaultedMemberExceptionSpec() 4433 << getSpecialMember(MD), PDiag(), in CheckExplicitlyDefaultedMemberExceptionSpec() 9707 PDiag(diag::err_access_dtor_var) in FinalizeVarWithDestructor() 11574 PDiag(diag::err_access_dtor_ivar) in SetIvarInitializers()
|
D | SemaExprMember.cpp | 1484 PDiag(diag::err_member_reference_needs_call), in LookupMemberExpr()
|
D | SemaDecl.cpp | 7126 S.PDiag(diag) in HandleDeclRefExpr()
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { in PDiag() function
|
D | DelayedDiagnostic.h | 88 void setDiag(const PartialDiagnostic &PDiag) { in setDiag() argument 90 Diag = PDiag; in setDiag()
|
D | Overload.h | 569 const PartialDiagnostic &PDiag) const;
|
D | Sema.h | 886 PartialDiagnostic PDiag(unsigned DiagID = 0); // in SemaInternal.h 1829 void HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, 4666 const PartialDiagnostic &PDiag); 4669 const PartialDiagnostic &PDiag,
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 1476 const PartialDiagnostic &PDiag) { in Create() argument 1489 if (PDiag.hasStorage()) in Create() 1492 DependentDiagnostic *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()
|