Home
last modified time | relevance | path

Searched refs:PDiag (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp53 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 …]
DSemaExprCXX.cpp565 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 …]
DSemaDeclCXX.cpp677 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 …]
DSemaAccess.cpp1431 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()
DSemaExpr.cpp301 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 …]
DSemaStmt.cpp171 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()
DSemaCXXCast.cpp496 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()
DSemaChecking.cpp1938 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()
DSemaOverload.cpp1377 !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 …]
DSemaCXXScopeSpec.cpp231 PDiag(diag::err_incomplete_nested_name_spec) in RequireCompleteDeclContext()
DSemaTemplate.cpp5420 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()
DSemaExprObjC.cpp134 PDiag(diag::err_incomplete_type_objc_at_encode) in BuildObjCEncodeExpression()
402 PDiag(diag::err_call_incomplete_argument) in CheckMessageArgumentTypes()
DSemaType.cpp3948 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()
DSemaExprMember.cpp534 SemaRef.PDiag(diag::err_typecheck_incomplete_tag) in LookupMemberExprInRecord()
DSemaInit.cpp3748 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()
DSemaTemplateDeduction.cpp2750 !S.RequireCompleteExprType(Arg, S.PDiag(), in AdjustFunctionParmAndArgTypesForDeduction()
2751 std::make_pair(SourceLocation(), S.PDiag()))) in AdjustFunctionParmAndArgTypesForDeduction()
DSemaDecl.cpp5261 S.PDiag(diag::warn_uninit_self_reference_in_init) in CheckForSelfReference()
/external/clang/include/clang/AST/
DDependentDiagnostic.h47 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/
DSemaInternal.h24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { in PDiag() function
DDelayedDiagnostic.h88 void setDiag(const PartialDiagnostic &PDiag) { in setDiag() argument
90 Diag = PDiag; in setDiag()
DOverload.h506 const PartialDiagnostic &PDiag) const;
DSema.h728 PartialDiagnostic PDiag(unsigned DiagID = 0); // in SemaInternal.h
3524 const PartialDiagnostic &PDiag);
3527 const PartialDiagnostic &PDiag);
/external/clang/lib/AST/
DDeclBase.cpp1271 const PartialDiagnostic &PDiag) { in Create() argument
1284 if (PDiag.hasStorage()) in Create()
1287 DependentDiagnostic *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()