Lines Matching defs:DiagId
720 unsigned DiagID) {
732 S.Diag(Qual.second, DiagID)
1651 unsigned DiagID = 0;
1667 DiagID = diag::err_typecheck_invalid_restrict_invalid_pointee;
1671 DiagID = diag::err_typecheck_invalid_restrict_not_pointer;
1675 if (DiagID) {
1676 Diag(DS ? DS->getRestrictSpecLoc() : Loc, DiagID) << ProblemTy;
2448 void Sema::diagnoseIgnoredQualifiers(unsigned DiagID, unsigned Quals,
2492 Diag(Loc.isInvalid() ? FallbackLoc : Loc, DiagID)
2749 unsigned DiagID = 0;
2769 DiagID = diag::err_type_defined_in_alias_template;
2778 DiagID = diag::err_type_defined_in_type_specifier;
2787 DiagID = diag::err_type_defined_in_param_type;
2793 DiagID = diag::err_type_defined_in_condition;
2797 if (DiagID != 0) {
2798 SemaRef.Diag(OwnedTagDecl->getLocation(), DiagID)
3284 unsigned DiagId = diag::err_decltype_auto_compound_type;
3294 DiagId = diag::err_decltype_auto_function_declarator_not_declaration;
3310 S.Diag(DeclChunk.Loc, DiagId) << DiagKind;
3762 unsigned diagID = diag::err_func_returning_array_function;
3767 diagID = diag::err_block_returning_array_function;
3768 S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T;
5883 unsigned DiagID = diag::err_cconv_varargs;
5887 DiagID = diag::warn_cconv_varargs;
5889 S.Diag(attr.getLoc(), DiagID) << FunctionType::getNameForCallConv(CC);
6442 bool Sema::RequireCompleteExprType(Expr *E, unsigned DiagID) {
6443 BoundTypeDiagnoser<> Diagnoser(DiagID);
6727 unsigned DiagID) {
6728 BoundTypeDiagnoser<> Diagnoser(DiagID);
6839 bool Sema::RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID) {
6840 BoundTypeDiagnoser<> Diagnoser(DiagID);