Home | History | Annotate | Download | only in Sema

Lines Matching refs:diag

300     Diag(NameLoc, diag::err_destructor_expr_type_mismatch)
302 Diag(NonMatchingTypeDecl->getLocation(), diag::note_destructor_type_here)
305 Diag(NameLoc, diag::err_ident_in_dtor_not_a_type)
308 SemaDiagnosticBuilder DtorDiag = Diag(NameLoc,
309 diag::err_destructor_class_name);
332 Diag(DS.getTypeSpecTypeLoc(), diag::err_destructor_expr_type_mismatch)
352 Diag(Name.getLocStart(), diag::err_literal_operator_id_outside_namespace)
380 RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid))
405 if (RequireCompleteType(TypeidLoc, T, diag::err_incomplete_typeid))
447 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
461 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
465 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
498 return ExprError(Diag(TypeidLoc, diag::err_uuidof_with_multiple_guids));
500 return ExprError(Diag(TypeidLoc, diag::err_uuidof_without_guid));
518 return ExprError(Diag(TypeidLoc, diag::err_uuidof_with_multiple_guids));
520 return ExprError(Diag(TypeidLoc, diag::err_uuidof_without_guid));
539 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
620 Diag(OpLoc, diag::err_exceptions_disabled) << "throw";
623 Diag(OpLoc, diag::err_omp_simd_region_cannot_use_stmt) << "throw";
664 isPointer? diag::err_throw_incomplete_ptr
665 : diag::err_throw_incomplete,
670 diag::err_throw_abstract_type, E))
726 PDiag(diag::err_access_dtor_exception) << Ty);
818 Diag(Loc, diag::err_this_capture) << Explicit;
833 Diag(Loc, diag::err_this_capture) << Explicit;
866 if (ThisTy.isNull()) return Diag(Loc, diag::err_invalid_this_use);
935 return ExprError(Diag(TyBeginLoc,
936 diag::err_value_init_for_array_type) << FullRange);
942 diag::err_invalid_incomplete_type_use, FullRange))
946 diag::err_allocation_of_abstract_type))
1064 return ExprError(Diag(Chunk.Loc, diag::err_new_array_of_auto)
1067 return ExprError(Diag(Chunk.Loc, diag::err_static_illegal_in_new)
1070 return ExprError(Diag(Chunk.Loc, diag::err_array_new_needs_size)
1100 diag::err_new_array_nonconst)
1198 return ExprError(Diag(StartLoc, diag::err_auto_new_requires_ctor_arg)
1202 return ExprError(Diag(Inits[0]->getLocStart(),
1203 diag::err_auto_new_list_init)
1207 return ExprError(Diag(FirstBad->getLocStart(),
1208 diag::err_auto_new_ctor_multiple_expressions)
1214 return ExprError(Diag(StartLoc, diag::err_auto_new_deduction_failure)
1239 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(),
1240 diag::warn_dangling_std_initializer_list)
1277 Diag(StartLoc, diag::warn_cxx98_compat_array_size_conversion)
1291 return S.Diag(Loc, diag::err_array_size_not_integral)
1297 return S.Diag(Loc, diag::err_array_size_incomplete_type)
1303 return S.Diag(Loc, diag::err_array_size_explicit_conversion) << T << ConvTy;
1308 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion)
1314 return S.Diag(Loc, diag::err_array_size_ambiguous_conversion) << T;
1319 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion)
1325 return S.Diag(Loc,
1327 ? diag::warn_cxx98_compat_array_size_conversion
1328 : diag::ext_array_size_conversion)
1364 Diag(ArraySize->getLocStart(),
1365 diag::warn_typecheck_negative_array_new_size)
1368 return ExprError(Diag(ArraySize->getLocStart(),
1369 diag::err_typecheck_negative_array_size)
1376 Diag(ArraySize->getLocStart(),
1377 diag::warn_array_new_too_large)
1381 return ExprError(Diag(ArraySize->getLocStart(),
1382 diag::err_array_too_large)
1389 Diag(ArraySize->getLocStart(), diag::ext_new_paren_array_nonconst)
1451 Diag(StartLoc, diag::warn_overaligned_type)
1466 Diag(StartLoc, diag::err_new_array_init_args) << InitRange;
1542 PDiag(diag::err_access_dtor)
1564 return Diag(Loc, diag::err_bad_new_type)
1567 return Diag(Loc, diag::err_bad_new_type)
1570 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R))
1573 diag::err_allocation_of_abstract_type))
1576 return Diag(Loc, diag::err_variably_modified_new_type)
1579 return Diag(Loc, diag::err_address_space_qualified_new)
1586 return Diag(Loc, diag::err_arc_new_array_without_ownership)
1822 Diag(StartLoc, diag::err_placement_new_non_placement_delete)
1826 Diag(OperatorDelete->getLocation(), diag::note_previous_decl)
1863 return Diag(StartLoc, diag::err_ovl_no_viable_function_in_call)
1908 Diag(StartLoc, diag::err_ovl_no_viable_function_in_call)
1916 Diag(StartLoc, diag::err_ovl_ambiguous_call)
1924 Diag(StartLoc, diag::err_ovl_deleted_call)
2194 Diag(StartLoc, diag::err_deleted_function_use);
2209 Diag(StartLoc, diag::err_ambiguous_suitable_delete_member_function_found)
2214 Diag((*F)->getUnderlyingDecl()->getLocation(),
2215 diag::note_member_declared_here) << Name;
2224 Diag(StartLoc, diag::err_no_suitable_delete_member_function_found)
2229 Diag((*F)->getUnderlyingDecl()->getLocation(),
2230 diag::note_member_declared_here) << Name;
2281 return S.Diag(Loc, diag::err_delete_operand) << T;
2286 return S.Diag(Loc, diag::err_delete_incomplete_class_type) << T;
2292 return S.Diag(Loc, diag::err_delete_explicit_conversion) << T << ConvTy;
2297 return S.Diag(Conv->getLocation(), diag::note_delete_conversion)
2303 return S.Diag(Loc, diag::err_ambiguous_delete_operand) << T;
2308 return S.Diag(Conv->getLocation(), diag::note_delete_conversion)
2332 return Diag(Ex.get()->getLocStart(),
2333 diag::err_address_space_qualified_delete)
2341 Diag(StartLoc, diag::ext_delete_void_ptr_operand)
2344 return ExprError(Diag(StartLoc, diag::err_delete_operand)
2348 diag::warn_delete_incomplete, Ex.get())) {
2361 Diag(StartLoc, diag::warn_delete_array_type)
2413 Diag(StartLoc, diag::warn_delete_abstract_non_virtual_dtor)
2418 Diag(StartLoc, diag::warn_delete_non_virtual_dtor) << PointeeElem;
2439 PDiag(diag::err_access_dtor) << PointeeElem);
2462 return ExprError(Diag(ConditionVar->getLocation(),
2463 diag::err_invalid_use_of_function_type)
2466 return ExprError(Diag(ConditionVar->getLocation(),
2467 diag::err_invalid_use_of_array_type)
2553 diag::err_allocation_of_abstract_type))
2670 PDiag(diag::err_typecheck_ambiguous_condition)
2861 Diag(From->getLocStart(),
2862 diag::ext_typecheck_convert_incompatible_pointer)
2866 Diag(From->getLocStart(),
2867 diag::ext_typecheck_convert_incompatible_pointer)
2879 Diag(From->getLocStart(),
2880 diag::err_arc_weak_unavailable_assign);
2882 Diag(From->getLocStart(),
2883 diag::err_arc_convesion_of_weak_unavailable)
3057 Diag(From->getLocStart(), getLangOpts().CPlusPlus11
3058 ? diag::ext_deprecated_string_literal_conversion
3059 : diag::warn_deprecated_string_literal_conversion)
3188 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr);
3636 diag::err_incomplete_type_used_in_type_trait_expr))
3778 diag::err_incomplete_type_used_in_type_trait_expr))
3869 diag::err_incomplete_type_used_in_type_trait_expr))
3873 diag::err_incomplete_type_used_in_type_trait_expr))
3956 diag::err_dimension_expr_not_constant_integer,
3960 Self.Diag(KeyLoc, diag::err_dimension_expr_not_constant_integer)
4076 Diag(Loc, diag::err_bad_memptr_rhs)
4098 Diag(Loc, diag::err_bad_memptr_lhs)
4107 if (RequireCompleteType(Loc, LHSType, diag::err_bad_memptr_lhs,
4113 Diag(Loc, diag::err_bad_memptr_lhs) << OpSpelling
4135 Diag(Loc, diag::err_pointer_to_member_type) << isIndirect;
4161 Diag(Loc, diag::err_pointer_to_member_oper_value_classify)
4167 Diag(Loc, diag::err_pointer_to_member_oper_value_classify)
4326 Self.Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
4332 Self.Diag(QuestionLoc, diag::err_conditional_ambiguous_ovl)
4417 Diag(QuestionLoc, diag::err_conditional_void_nonvoid)
4441 Diag(QuestionLoc, diag::err_conditional_ambiguous)
4533 diag::err_allocation_of_abstract_type))
4588 Diag(QuestionLoc,
4589 diag::ext_typecheck_cond_incompatible_operands_nonstandard)
4605 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
4967 PDiag(diag::err_access_dtor_temp)
5123 PDiag(diag::err_access_dtor_temp)
5150 S.Diag(OperatorArrows[I]->getLocation(),
5151 diag::note_operator_arrows_suppressed)
5155 S.Diag(OperatorArrows[I]->getLocation(), diag::note_operator_arrow_here)
5205 Diag(OpLoc, diag::err_operator_arrow_depth_exceeded)
5208 Diag(OpLoc, diag::note_operator_arrow_depth)
5225 Diag(OpLoc, diag::err_typecheck_member_reference_suggestion)
5231 Diag(OpLoc, diag::err_typecheck_member_reference_arrow)
5235 Diag(CD->getLocStart(),
5236 diag::note_member_reference_arrow_from_operator_arrow);
5247 Diag(OpLoc, diag::err_operator_arrow_circular) << StartingType;
5287 RequireCompleteType(OpLoc, BaseType, diag::err_incomplete_member_access))
5302 Diag(MemExpr->getLocStart(), diag::err_dtor_expr_without_call)
5333 S.Diag(OpLoc, diag::err_typecheck_member_reference_suggestion)
5364 Diag(OpLoc, diag::ext_pseudo_dtor_on_void) << Base->getSourceRange();
5366 Diag(OpLoc, diag::err_pseudo_dtor_base_not_scalar)
5381 Diag(DestructedTypeStart, diag::err_pseudo_dtor_type_mismatch)
5397 Diag(DestructedTypeStart, diag::err_arc_pseudo_dtor_inconstant_quals)
5423 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(),
5424 diag::err_pseudo_dtor_type_mismatch)
5497 Diag(SecondTypeName.StartLocation,
5498 diag::err_pseudo_dtor_destructor_non_type)
5545 Diag(FirstTypeName.StartLocation,
5546 diag::err_pseudo_dtor_destructor_non_type)
5634 Diag(E->getExprLoc(), diag::note_lambda_to_block_conv);
5785 diag::err_incomplete_type);