Lines Matching refs:DiagID
1232 unsigned DiagID; in ParseImplicitInt() local
1233 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); in ParseImplicitInt()
1251 unsigned DiagID; in ParseImplicitInt() local
1252 DS.SetTypeSpecType(DeclSpec::TST_error, Loc, PrevSpec, DiagID); in ParseImplicitInt()
1312 unsigned DiagID = 0; in ParseDeclarationSpecifiers() local
1442 PrevSpec, DiagID, T); in ParseDeclarationSpecifiers()
1492 DiagID, TypeRep); in ParseDeclarationSpecifiers()
1506 DiagID, T); in ParseDeclarationSpecifiers()
1564 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers()
1587 DiagID, TypeRep); in ParseDeclarationSpecifiers()
1665 DiagID, getLang()); in ParseDeclarationSpecifiers()
1671 DiagID, getLang()); in ParseDeclarationSpecifiers()
1675 PrevSpec, DiagID, getLang()); in ParseDeclarationSpecifiers()
1681 DiagID, getLang()); in ParseDeclarationSpecifiers()
1687 DiagID, getLang()); in ParseDeclarationSpecifiers()
1694 DiagID); in ParseDeclarationSpecifiers()
1698 DiagID, getLang()); in ParseDeclarationSpecifiers()
1702 DiagID, getLang()); in ParseDeclarationSpecifiers()
1706 DiagID, getLang()); in ParseDeclarationSpecifiers()
1709 isInvalid = DS.SetStorageClassSpecThread(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1714 isInvalid = DS.SetFunctionSpecInline(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1717 isInvalid = DS.SetFunctionSpecVirtual(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1720 isInvalid = DS.SetFunctionSpecExplicit(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1726 isInvalid = DS.SetFriendSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1729 DiagID = diag::err_friend_invalid_in_context; in ParseDeclarationSpecifiers()
1736 isInvalid = DS.SetConstexprSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1742 DiagID); in ParseDeclarationSpecifiers()
1747 DiagID); in ParseDeclarationSpecifiers()
1750 DiagID); in ParseDeclarationSpecifiers()
1754 DiagID); in ParseDeclarationSpecifiers()
1758 DiagID); in ParseDeclarationSpecifiers()
1762 DiagID); in ParseDeclarationSpecifiers()
1766 DiagID); in ParseDeclarationSpecifiers()
1770 DiagID); in ParseDeclarationSpecifiers()
1774 DiagID); in ParseDeclarationSpecifiers()
1778 DiagID); in ParseDeclarationSpecifiers()
1782 DiagID); in ParseDeclarationSpecifiers()
1786 DiagID); in ParseDeclarationSpecifiers()
1790 DiagID); in ParseDeclarationSpecifiers()
1794 DiagID); in ParseDeclarationSpecifiers()
1798 DiagID); in ParseDeclarationSpecifiers()
1802 DiagID); in ParseDeclarationSpecifiers()
1810 DiagID = diag::err_bool_redeclaration; in ParseDeclarationSpecifiers()
1816 DiagID); in ParseDeclarationSpecifiers()
1821 DiagID); in ParseDeclarationSpecifiers()
1825 DiagID); in ParseDeclarationSpecifiers()
1829 DiagID); in ParseDeclarationSpecifiers()
1832 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1835 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1839 PrevSpec, DiagID); in ParseDeclarationSpecifiers()
1860 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
1864 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
1868 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
1927 assert(DiagID); in ParseDeclarationSpecifiers()
1929 if (DiagID == diag::ext_duplicate_declspec) in ParseDeclarationSpecifiers()
1930 Diag(Tok, DiagID) in ParseDeclarationSpecifiers()
1933 Diag(Tok, DiagID) << PrevSpec; in ParseDeclarationSpecifiers()
1937 if (DiagID != diag::err_bool_redeclaration) in ParseDeclarationSpecifiers()
1988 unsigned &DiagID, in ParseOptionalTypeSpecifier() argument
2001 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseOptionalTypeSpecifier()
2011 return ParseOptionalTypeSpecifier(DS, isInvalid, PrevSpec, DiagID, in ParseOptionalTypeSpecifier()
2022 return ParseOptionalTypeSpecifier(DS, isInvalid, PrevSpec, DiagID, in ParseOptionalTypeSpecifier()
2030 DiagID, T); in ParseOptionalTypeSpecifier()
2047 isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2052 DiagID); in ParseOptionalTypeSpecifier()
2055 DiagID); in ParseOptionalTypeSpecifier()
2059 DiagID); in ParseOptionalTypeSpecifier()
2062 isInvalid = DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2066 DiagID); in ParseOptionalTypeSpecifier()
2070 DiagID); in ParseOptionalTypeSpecifier()
2074 DiagID); in ParseOptionalTypeSpecifier()
2077 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2080 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2083 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2086 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2089 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_double, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2092 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_wchar, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2095 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char16, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2098 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char32, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2102 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_bool, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2106 DiagID); in ParseOptionalTypeSpecifier()
2110 DiagID); in ParseOptionalTypeSpecifier()
2114 DiagID); in ParseOptionalTypeSpecifier()
2117 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2120 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2143 DiagID, getLang()); in ParseOptionalTypeSpecifier()
2147 DiagID, getLang()); in ParseOptionalTypeSpecifier()
2151 DiagID, getLang()); in ParseOptionalTypeSpecifier()
2188 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto, Loc, PrevSpec, DiagID); in ParseOptionalTypeSpecifier()
2213 Diag(Tok, DiagID) << PrevSpec; in ParseOptionalTypeSpecifier()
2615 unsigned DiagID; in ParseEnumSpecifier() local
2642 PrevSpec, DiagID, Type.get())) in ParseEnumSpecifier()
2643 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier()
2665 PrevSpec, DiagID, TagDecl, Owned)) in ParseEnumSpecifier()
2666 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier()
3145 unsigned DiagID = 0; in ParseTypeQualifierListOpt() local
3155 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const , Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
3159 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
3163 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
3217 Diag(Tok, DiagID) << PrevSpec; in ParseTypeQualifierListOpt()
4171 unsigned DiagID; in ParseTypeofSpecifier() local
4174 DiagID, CastTy)) in ParseTypeofSpecifier()
4175 Diag(StartLoc, DiagID) << PrevSpec; in ParseTypeofSpecifier()
4186 unsigned DiagID; in ParseTypeofSpecifier() local
4189 DiagID, Operand.get())) in ParseTypeofSpecifier()
4190 Diag(StartLoc, DiagID) << PrevSpec; in ParseTypeofSpecifier()
4223 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecTokenOutOfLine() argument
4239 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID); in TryAltiVecTokenOutOfLine()
4243 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID); in TryAltiVecTokenOutOfLine()
4252 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID); in TryAltiVecTokenOutOfLine()