Home | History | Annotate | Download | only in Parse

Lines Matching refs:DiagId

483         unsigned DiagID = diag::err_missing_dependent_template_keyword;
485 DiagID = diag::warn_missing_dependent_template_keyword;
487 Diag(Tok.getLocation(), DiagID)
636 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro));
637 if (DiagID) {
638 Diag(Tok, DiagID.getValue());
881 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro, &SkippedInits));
883 if (DiagID) {
892 DiagID = ParseLambdaIntroducer(Intro);
893 assert(!DiagID && "parsing lambda-introducer failed on reparse");
1604 unsigned DiagID;
1617 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID,
1638 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID);
1641 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID);
1644 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID);
1647 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID);
1650 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID);
1653 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID);
1656 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID);
1659 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID);
1662 DS.SetTypeSpecType(DeclSpec::TST_int128, Loc, PrevSpec, DiagID);
1665 DS.SetTypeSpecType(DeclSpec::TST_half, Loc, PrevSpec, DiagID);
1668 DS.SetTypeSpecType(DeclSpec::TST_float, Loc, PrevSpec, DiagID);
1671 DS.SetTypeSpecType(DeclSpec::TST_double, Loc, PrevSpec, DiagID);
1674 DS.SetTypeSpecType(DeclSpec::TST_wchar, Loc, PrevSpec, DiagID);
1677 DS.SetTypeSpecType(DeclSpec::TST_char16, Loc, PrevSpec, DiagID);
1680 DS.SetTypeSpecType(DeclSpec::TST_char32, Loc, PrevSpec, DiagID);
1683 DS.SetTypeSpecType(DeclSpec::TST_bool, Loc, PrevSpec, DiagID);
2060 unsigned DiagId = 0;
2067 if (!Tok.is(tok::string_literal) && !DiagId) {
2072 DiagId = diag::err_literal_operator_string_prefix;
2108 DiagId = diag::err_literal_operator_string_not_empty;
2111 if (DiagId) {
2117 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement(