/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 53 PDiag(diag::err_incomplete_in_exception_spec) << /*direct*/0 << Range)) in CheckSpecifiedExceptionType() 74 PDiag(diag::err_incomplete_in_exception_spec) << kind << Range)) in CheckSpecifiedExceptionType() 107 if (!CheckEquivalentExceptionSpec(PDiag(DiagID), in CheckEquivalentExceptionSpec() 108 PDiag(diag::note_previous_declaration), in CheckEquivalentExceptionSpec() 270 PDiag(DiagID), in CheckEquivalentExceptionSpec() 271 PDiag(diag::note_previous_declaration), in CheckEquivalentExceptionSpec() 660 PDiag(diag::err_deep_exception_specs_differ) << 0, in CheckParamExceptionSpec() 661 PDiag(), in CheckParamExceptionSpec() 672 PDiag(diag::err_deep_exception_specs_differ) << 1, in CheckParamExceptionSpec() 673 PDiag(), in CheckParamExceptionSpec() [all …]
|
D | SemaExprCXX.cpp | 565 PDiag(isPointer ? diag::err_throw_incomplete_ptr in CheckCXXThrowOperand() 571 PDiag(diag::err_throw_abstract_type) in CheckCXXThrowOperand() 629 PDiag(diag::err_access_dtor_exception) << Ty); in CheckCXXThrowOperand() 729 PDiag(diag::err_invalid_incomplete_type_use) in BuildCXXTypeConstructExpr() 977 PDiag(diag::err_array_size_not_integral), in BuildCXXNew() 978 PDiag(diag::err_array_size_incomplete_type) in BuildCXXNew() 980 PDiag(diag::err_array_size_explicit_conversion), in BuildCXXNew() 981 PDiag(diag::note_array_size_conversion), in BuildCXXNew() 982 PDiag(diag::err_array_size_ambiguous_conversion), in BuildCXXNew() 983 PDiag(diag::note_array_size_conversion), in BuildCXXNew() [all …]
|
D | SemaDeclCXX.cpp | 677 PDiag(diag::err_incomplete_base_class) in CheckBaseSpecifier() 2664 PDiag(diag::err_access_dtor_field) in MarkBaseAndMemberDestructorsReferenced() 2696 PDiag(diag::err_access_dtor_base) in MarkBaseAndMemberDestructorsReferenced() 2725 PDiag(diag::err_access_dtor_vbase) in MarkBaseAndMemberDestructorsReferenced() 2744 return RequireNonAbstractType(Loc, T, PDiag(DiagID)); in RequireNonAbstractType() 2746 return RequireNonAbstractType(Loc, T, PDiag(DiagID) << SelID); in RequireNonAbstractType() 3161 PDiag(diag::err_incorrect_defaulted_exception_spec) in CheckExplicitlyDefaultedDefaultConstructor() 3163 PDiag(), in CheckExplicitlyDefaultedDefaultConstructor() 3228 PDiag(diag::err_incorrect_defaulted_exception_spec) in CheckExplicitlyDefaultedCopyConstructor() 3230 PDiag(), in CheckExplicitlyDefaultedCopyConstructor() [all …]
|
D | SemaAccess.cpp | 1431 const PartialDiagnostic &PDiag) { in CheckDestructorAccess() argument 1444 Entity.setDiag(PDiag); // TODO: avoid copy in CheckDestructorAccess() 1463 PartialDiagnostic PD(PDiag()); in CheckConstructorAccess() 1466 PD = PDiag(IsCopyBindingRefToTemp in CheckConstructorAccess() 1473 PD = PDiag(diag::err_access_base_ctor); in CheckConstructorAccess() 1480 PD = PDiag(diag::err_access_field_ctor); in CheckConstructorAccess()
|
D | SemaExpr.cpp | 301 S.PDiag(diag::warn_indirection_through_null) in CheckForNullPointerDereference() 304 S.PDiag(diag::note_indirection_through_null)); in CheckForNullPointerDereference() 462 PDiag(diag::err_cannot_pass_objc_interface_to_vararg) in DefaultVariadicArgumentPromotion() 490 PDiag(diag::warn_cannot_pass_non_pod_arg_to_vararg) in DefaultVariadicArgumentPromotion() 2696 PDiag(diag::err_sizeof_alignof_incomplete_type) in CheckUnaryExprOrTypeTraitOperand() 2698 std::make_pair(SourceLocation(), PDiag(0)))) in CheckUnaryExprOrTypeTraitOperand() 2765 PDiag(diag::err_sizeof_alignof_incomplete_type) in CheckUnaryExprOrTypeTraitOperand() 3089 PDiag(diag::err_subscript_incomplete_type) in CreateBuiltinArraySubscriptExpr() 3280 PDiag(diag::err_call_incomplete_argument) in GatherArgumentsForCall() 3636 PDiag(diag::err_call_incomplete_argument) in BuildResolvedCallExpr() [all …]
|
D | SemaStmt.cpp | 171 DiagRuntimeBehavior(Loc, 0, PDiag(DiagID) << R1 << R2); in DiagnoseUnusedExprResult() 441 PDiag(diag::err_typecheck_statement_requires_integer), in ActOnStartOfSwitchStmt() 442 PDiag(diag::err_switch_incomplete_class_type) in ActOnStartOfSwitchStmt() 444 PDiag(diag::err_switch_explicit_conversion), in ActOnStartOfSwitchStmt() 445 PDiag(diag::note_switch_conversion), in ActOnStartOfSwitchStmt() 446 PDiag(diag::err_switch_multiple_conversions), in ActOnStartOfSwitchStmt() 447 PDiag(diag::note_switch_conversion), in ActOnStartOfSwitchStmt() 448 PDiag(0)); in ActOnStartOfSwitchStmt() 1260 PDiag(diag::err_for_range_incomplete_type))) in BuildCXXForRangeStmt()
|
D | SemaCXXCast.cpp | 496 Self.PDiag(diag::err_bad_dynamic_cast_incomplete) in CheckDynamicCast() 532 Self.PDiag(diag::err_bad_dynamic_cast_incomplete) in CheckDynamicCast() 1021 if (Self.RequireCompleteType(OpRange.getBegin(), SrcType, Self.PDiag(0)) || in TryStaticDowncast() 1022 Self.RequireCompleteType(OpRange.getBegin(), DestType, Self.PDiag(0))) in TryStaticDowncast()
|
D | SemaChecking.cpp | 1938 PDiag(diag::warn_sizeof_pointer_expr_memaccess) in CheckMemsetcpymoveArguments() 1953 PDiag(diag::warn_sizeof_pointer_type_memaccess) in CheckMemsetcpymoveArguments() 1973 PDiag(DiagID) in CheckMemsetcpymoveArguments() 1979 PDiag(diag::note_bad_memaccess_silence) in CheckMemsetcpymoveArguments() 3511 S.PDiag(diag::warn_array_index_exceeds_bounds) in CheckArrayAccess_Check() 3517 S.PDiag(diag::warn_array_index_precedes_bounds) in CheckArrayAccess_Check() 3529 S.PDiag(diag::note_array_index_out_of_bounds) in CheckArrayAccess_Check()
|
D | SemaOverload.cpp | 1377 !RequireCompleteType(From->getLocStart(), FromType, PDiag())) in IsIntegralPromotion() 1705 !RequireCompleteType(From->getLocStart(), FromPointeeType, PDiag()) && in IsPointerConversion() 2136 PDiag(diag::warn_impcast_bool_to_null_pointer) in CheckPointerConversion() 2210 !RequireCompleteType(From->getLocStart(), ToClass, PDiag()) && in IsMemberPointerConversion() 2402 S.RequireCompleteType(From->getLocStart(), ToType, S.PDiag()); in IsUserDefinedConversion() 2449 S.PDiag(0) << From->getSourceRange())) { in IsUserDefinedConversion() 3210 } else if (!RequireCompleteType(Loc, OrigT2, PDiag()) && in CompareReferenceRelationship() 4777 if (RequireCompleteType(OpLoc, T1, PDiag())) in AddMemberOperatorCandidates() 6724 const PartialDiagnostic &PDiag) const { in DiagnoseAmbiguousConversion() 6725 S.Diag(CaretLoc, PDiag) in DiagnoseAmbiguousConversion() [all …]
|
D | SemaCXXScopeSpec.cpp | 231 PDiag(diag::err_incomplete_nested_name_spec) in RequireCompleteDeclContext()
|
D | SemaTemplate.cpp | 5420 PDiag(diag::err_function_template_spec_no_match) in CheckFunctionTemplateSpecialization() 5422 PDiag(diag::err_function_template_spec_ambiguous) in CheckFunctionTemplateSpecialization() 5424 PDiag(diag::note_function_template_spec_matched)); in CheckFunctionTemplateSpecialization() 6256 PDiag(diag::err_explicit_instantiation_not_known) << Name, in ActOnExplicitInstantiation() 6257 PDiag(diag::err_explicit_instantiation_ambiguous) << Name, in ActOnExplicitInstantiation() 6258 PDiag(diag::note_explicit_instantiation_candidate)); in ActOnExplicitInstantiation()
|
D | SemaExprObjC.cpp | 134 PDiag(diag::err_incomplete_type_objc_at_encode) in BuildObjCEncodeExpression() 402 PDiag(diag::err_call_incomplete_argument) in CheckMessageArgumentTypes()
|
D | SemaType.cpp | 3948 std::make_pair(SourceLocation(), PDiag(0))); in RequireCompleteType() 3953 return RequireCompleteType(Loc, T, PDiag(DiagID), in RequireCompleteType() 3954 std::make_pair(SourceLocation(), PDiag(0))); in RequireCompleteType()
|
D | SemaExprMember.cpp | 534 SemaRef.PDiag(diag::err_typecheck_incomplete_tag) in LookupMemberExprInRecord()
|
D | SemaInit.cpp | 3748 if (S.RequireCompleteType(Loc, T, S.PDiag(diag::err_temp_copy_incomplete))) in CopyObject() 3846 S.PDiag(diag::err_call_incomplete_argument))) in CopyObject() 4203 S.PDiag(diag::err_access_dtor_temp) << T); in Perform()
|
D | SemaTemplateDeduction.cpp | 2750 !S.RequireCompleteExprType(Arg, S.PDiag(), in AdjustFunctionParmAndArgTypesForDeduction() 2751 std::make_pair(SourceLocation(), S.PDiag()))) in AdjustFunctionParmAndArgTypesForDeduction()
|
D | SemaDecl.cpp | 5261 S.PDiag(diag::warn_uninit_self_reference_in_init) in CheckForSelfReference()
|
/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/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 | 506 const PartialDiagnostic &PDiag) const;
|
D | Sema.h | 728 PartialDiagnostic PDiag(unsigned DiagID = 0); // in SemaInternal.h 3524 const PartialDiagnostic &PDiag); 3527 const PartialDiagnostic &PDiag);
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 1271 const PartialDiagnostic &PDiag) { in Create() argument 1284 if (PDiag.hasStorage()) in Create() 1287 DependentDiagnostic *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()
|