Lines Matching refs:DiagID
1756 unsigned DiagID; in ParseDeclGroup() local
1760 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup()
2299 unsigned DiagID; in ParseImplicitInt() local
2300 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2429 unsigned DiagID; in ParseImplicitInt() local
2430 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2695 unsigned DiagID = 0; in ParseDeclarationSpecifiers() local
2861 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers()
2920 DiagID, TypeRep, Policy); in ParseDeclarationSpecifiers()
2939 DiagID, T, Policy); in ParseDeclarationSpecifiers()
2990 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers()
3002 DiagID, TypeRep, Policy); in ParseDeclarationSpecifiers()
3037 DiagID, TypeRep, Policy); in ParseDeclarationSpecifiers()
3098 isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3107 isInvalid = DS.SetTypeQual(DeclSpec::TQ_unaligned, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
3151 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3158 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3163 Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3170 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3177 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3183 DiagID, Policy); in ParseDeclarationSpecifiers()
3186 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3192 DiagID, Policy); in ParseDeclarationSpecifiers()
3196 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3201 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3206 PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3211 PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3215 Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3221 isInvalid = DS.setFunctionSpecInline(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3224 isInvalid = DS.setFunctionSpecVirtual(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3227 isInvalid = DS.setFunctionSpecExplicit(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3232 isInvalid = DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3245 isInvalid = DS.SetFriendSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3248 DiagID = diag::err_friend_invalid_in_context; in ParseDeclarationSpecifiers()
3255 isInvalid = DS.setModulePrivateSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3260 isInvalid = DS.SetConstexprSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3265 isInvalid = DS.SetConceptSpec(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3271 DiagID, Policy); in ParseDeclarationSpecifiers()
3276 DiagID, Policy); in ParseDeclarationSpecifiers()
3279 DiagID, Policy); in ParseDeclarationSpecifiers()
3283 DiagID, Policy); in ParseDeclarationSpecifiers()
3287 DiagID); in ParseDeclarationSpecifiers()
3291 DiagID); in ParseDeclarationSpecifiers()
3295 DiagID); in ParseDeclarationSpecifiers()
3299 DiagID); in ParseDeclarationSpecifiers()
3303 DiagID, Policy); in ParseDeclarationSpecifiers()
3307 DiagID, Policy); in ParseDeclarationSpecifiers()
3311 DiagID, Policy); in ParseDeclarationSpecifiers()
3315 DiagID, Policy); in ParseDeclarationSpecifiers()
3319 DiagID, Policy); in ParseDeclarationSpecifiers()
3323 DiagID, Policy); in ParseDeclarationSpecifiers()
3327 DiagID, Policy); in ParseDeclarationSpecifiers()
3331 DiagID, Policy); in ParseDeclarationSpecifiers()
3335 DiagID, Policy); in ParseDeclarationSpecifiers()
3339 DiagID, Policy); in ParseDeclarationSpecifiers()
3343 DiagID, Policy); in ParseDeclarationSpecifiers()
3351 DiagID = diag::err_bool_redeclaration; in ParseDeclarationSpecifiers()
3357 DiagID, Policy); in ParseDeclarationSpecifiers()
3362 DiagID, Policy); in ParseDeclarationSpecifiers()
3366 DiagID, Policy); in ParseDeclarationSpecifiers()
3370 DiagID, Policy); in ParseDeclarationSpecifiers()
3373 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3376 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3379 isInvalid = DS.SetTypeAltiVecBool(true, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3388 isInvalid = DS.SetTypePipe(true, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3393 DiagID, Policy); \ in ParseDeclarationSpecifiers()
3398 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3433 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
3437 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
3441 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
3493 isInvalid = DS.SetTypeQual(DeclSpec::TQ_atomic, Loc, PrevSpec, DiagID, in ParseDeclarationSpecifiers()
3502 DiagID = diag::err_opencl_unknown_type_specifier; in ParseDeclarationSpecifiers()
3529 PrevSpec, DiagID, Type.get(), in ParseDeclarationSpecifiers()
3531 Diag(StartLoc, DiagID) << PrevSpec; in ParseDeclarationSpecifiers()
3545 assert(DiagID); in ParseDeclarationSpecifiers()
3547 if (DiagID == diag::ext_duplicate_declspec) in ParseDeclarationSpecifiers()
3548 Diag(Tok, DiagID) in ParseDeclarationSpecifiers()
3550 else if (DiagID == diag::err_opencl_unknown_type_specifier) { in ParseDeclarationSpecifiers()
3555 Diag(Tok, DiagID) << VerSpec << PrevSpec << isStorageClass; in ParseDeclarationSpecifiers()
3557 Diag(Tok, DiagID) << PrevSpec; in ParseDeclarationSpecifiers()
3561 if (DiagID != diag::err_bool_redeclaration) in ParseDeclarationSpecifiers()
4083 unsigned DiagID; in ParseEnumSpecifier() local
4100 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier()
4102 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier()
4124 PrevSpec, DiagID, Type.get(), in ParseEnumSpecifier()
4126 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier()
4148 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier()
4150 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier()
4802 unsigned DiagID = 0; in ParseTypeQualifierListOpt() local
4811 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const , Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
4815 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
4819 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
4825 isInvalid = DS.SetTypeQual(DeclSpec::TQ_atomic, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
4842 isInvalid = DS.SetTypeQual(DeclSpec::TQ_unaligned, Loc, PrevSpec, DiagID, in ParseTypeQualifierListOpt()
4914 Diag(Tok, DiagID) << PrevSpec; in ParseTypeQualifierListOpt()
6293 unsigned DiagID; in ParseTypeofSpecifier() local
6296 DiagID, CastTy, in ParseTypeofSpecifier()
6298 Diag(StartLoc, DiagID) << PrevSpec; in ParseTypeofSpecifier()
6316 unsigned DiagID; in ParseTypeofSpecifier() local
6319 DiagID, Operand.get(), in ParseTypeofSpecifier()
6321 Diag(StartLoc, DiagID) << PrevSpec; in ParseTypeofSpecifier()
6352 unsigned DiagID; in ParseAtomicSpecifier() local
6354 DiagID, Result.get(), in ParseAtomicSpecifier()
6356 Diag(StartLoc, DiagID) << PrevSpec; in ParseAtomicSpecifier()
6393 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecTokenOutOfLine() argument
6411 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID, Policy); in TryAltiVecTokenOutOfLine()
6415 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID,Policy); in TryAltiVecTokenOutOfLine()
6419 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID,Policy); in TryAltiVecTokenOutOfLine()
6428 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID, Policy); in TryAltiVecTokenOutOfLine()
6432 isInvalid = DS.SetTypeAltiVecBool(true, Loc, PrevSpec, DiagID, Policy); in TryAltiVecTokenOutOfLine()