Lines Matching refs:Diag

299     Diag(NameLoc, diag::err_destructor_expr_type_mismatch)
301 Diag(NonMatchingTypeDecl->getLocation(), diag::note_destructor_type_here)
304 Diag(NameLoc, diag::err_ident_in_dtor_not_a_type)
307 SemaDiagnosticBuilder DtorDiag = Diag(NameLoc,
331 Diag(DS.getTypeSpecTypeLoc(), diag::err_destructor_expr_type_mismatch)
420 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
434 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
438 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
471 return ExprError(Diag(TypeidLoc, diag::err_uuidof_with_multiple_guids));
473 return ExprError(Diag(TypeidLoc, diag::err_uuidof_without_guid));
492 return ExprError(Diag(TypeidLoc, diag::err_uuidof_with_multiple_guids));
494 return ExprError(Diag(TypeidLoc, diag::err_uuidof_without_guid));
514 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
595 Diag(OpLoc, diag::err_exceptions_disabled) << "throw";
777 Diag(Loc, diag::err_this_capture) << Explicit;
792 Diag(Loc, diag::err_this_capture) << Explicit;
825 if (ThisTy.isNull()) return Diag(Loc, diag::err_invalid_this_use);
896 return ExprError(Diag(TyBeginLoc,
1025 return ExprError(Diag(Chunk.Loc, diag::err_new_array_of_auto)
1028 return ExprError(Diag(Chunk.Loc, diag::err_static_illegal_in_new)
1031 return ExprError(Diag(Chunk.Loc, diag::err_array_new_needs_size)
1159 return ExprError(Diag(StartLoc, diag::err_auto_new_requires_ctor_arg)
1162 return ExprError(Diag(Inits[0]->getLocStart(),
1167 return ExprError(Diag(FirstBad->getLocStart(),
1174 return ExprError(Diag(StartLoc, diag::err_auto_new_deduction_failure)
1198 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(),
1237 Diag(StartLoc, diag::warn_cxx98_compat_array_size_conversion)
1251 return S.Diag(Loc, diag::err_array_size_not_integral)
1257 return S.Diag(Loc, diag::err_array_size_incomplete_type)
1263 return S.Diag(Loc, diag::err_array_size_explicit_conversion) << T << ConvTy;
1268 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion)
1274 return S.Diag(Loc, diag::err_array_size_ambiguous_conversion) << T;
1279 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion)
1285 return S.Diag(Loc,
1324 Diag(ArraySize->getLocStart(),
1328 return ExprError(Diag(ArraySize->getLocStart(),
1336 Diag(ArraySize->getLocStart(),
1341 return ExprError(Diag(ArraySize->getLocStart(),
1349 Diag(ArraySize->getLocStart(), diag::ext_new_paren_array_nonconst)
1408 Diag(StartLoc, diag::warn_overaligned_type)
1423 Diag(StartLoc, diag::err_new_array_init_args) << InitRange;
1523 return Diag(Loc, diag::err_bad_new_type)
1526 return Diag(Loc, diag::err_bad_new_type)
1535 return Diag(Loc, diag::err_variably_modified_new_type)
1538 return Diag(Loc, diag::err_address_space_qualified_new)
1545 return Diag(Loc, diag::err_arc_new_array_without_ownership)
1785 Diag(StartLoc, diag::err_placement_new_non_placement_delete)
1789 Diag(OperatorDelete->getLocation(), diag::note_previous_decl)
1812 return Diag(StartLoc, diag::err_ovl_no_viable_function_in_call)
1879 Diag(StartLoc, diag::err_ovl_no_viable_function_in_call)
1887 Diag(StartLoc, diag::err_ovl_ambiguous_call)
1895 Diag(StartLoc, diag::err_ovl_deleted_call)
2168 Diag(StartLoc, diag::err_deleted_function_use);
2183 Diag(StartLoc, diag::err_ambiguous_suitable_delete_member_function_found)
2188 Diag((*F)->getUnderlyingDecl()->getLocation(),
2198 Diag(StartLoc, diag::err_no_suitable_delete_member_function_found)
2203 Diag((*F)->getUnderlyingDecl()->getLocation(),
2255 return S.Diag(Loc, diag::err_delete_operand) << T;
2260 return S.Diag(Loc, diag::err_delete_incomplete_class_type) << T;
2265 return S.Diag(Loc, diag::err_delete_explicit_conversion) << T << ConvTy;
2270 return S.Diag(Conv->getLocation(), diag::note_delete_conversion)
2276 return S.Diag(Loc, diag::err_ambiguous_delete_operand) << T;
2281 return S.Diag(Conv->getLocation(), diag::note_delete_conversion)
2304 return Diag(Ex.get()->getLocStart(),
2313 Diag(StartLoc, diag::ext_delete_void_ptr_operand)
2316 return ExprError(Diag(StartLoc, diag::err_delete_operand)
2333 Diag(StartLoc, diag::warn_delete_array_type)
2385 Diag(StartLoc, diag::warn_delete_abstract_non_virtual_dtor)
2390 Diag(StartLoc, diag::warn_delete_non_virtual_dtor) << PointeeElem;
2435 return ExprError(Diag(ConditionVar->getLocation(),
2439 return ExprError(Diag(ConditionVar->getLocation(),
2840 Diag(From->getLocStart(),
2845 Diag(From->getLocStart(),
2858 Diag(From->getLocStart(),
2861 Diag(From->getLocStart(),
3036 Diag(From->getLocStart(), diag::warn_deprecated_string_literal_conversion)
3627 S.Diag(KWLoc, diag::err_type_trait_arity)
3904 Diag(KWLoc, diag::err_types_compatible_p_in_cplusplus)
3968 Self.Diag(KeyLoc, diag::err_dimension_expr_not_constant_integer)
4085 Diag(Loc, diag::err_bad_memptr_rhs)
4107 Diag(Loc, diag::err_bad_memptr_lhs)
4126 Diag(Loc, diag::err_bad_memptr_lhs) << OpSpelling
4143 Diag(Loc, diag::err_pointer_to_member_type) << isIndirect;
4169 Diag(Loc, diag::err_pointer_to_member_oper_value_classify)
4175 Diag(Loc, diag::err_pointer_to_member_oper_value_classify)
4333 Self.Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
4339 Self.Diag(QuestionLoc, diag::err_conditional_ambiguous_ovl)
4445 Diag(QuestionLoc, diag::err_conditional_void_nonvoid)
4470 Diag(QuestionLoc, diag::err_conditional_ambiguous)
4616 Diag(QuestionLoc,
4633 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
5178 S.Diag(OperatorArrows[I]->getLocation(),
5183 S.Diag(OperatorArrows[I]->getLocation(), diag::note_operator_arrow_here)
5233 Diag(OpLoc, diag::err_operator_arrow_depth_exceeded)
5236 Diag(OpLoc, diag::note_operator_arrow_depth)
5253 Diag(OpLoc, diag::err_typecheck_member_reference_suggestion)
5259 Diag(OpLoc, diag::err_typecheck_member_reference_arrow)
5263 Diag(CD->getLocStart(),
5275 Diag(OpLoc, diag::err_operator_arrow_circular) << StartingType;
5330 Diag(MemExpr->getLocStart(), diag::err_dtor_expr_without_call)
5361 S.Diag(OpLoc, diag::err_typecheck_member_reference_suggestion)
5392 Diag(OpLoc, diag::ext_pseudo_dtor_on_void) << Base->getSourceRange();
5394 Diag(OpLoc, diag::err_pseudo_dtor_base_not_scalar)
5408 Diag(DestructedTypeStart, diag::err_pseudo_dtor_type_mismatch)
5424 Diag(DestructedTypeStart, diag::err_arc_pseudo_dtor_inconstant_quals)
5450 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(),
5524 Diag(SecondTypeName.StartLocation,
5572 Diag(FirstTypeName.StartLocation,
5661 Diag(E->getExprLoc(), diag::note_lambda_to_block_conv);