Lines Matching refs:DeclSpec
186 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, DeclSpec::TST TST) { in ConsumeExtraSemi()
214 << Kind << DeclSpec::getSpecifierName(TST, in ConsumeExtraSemi()
1165 auto LengthOfTSTToken = [](DeclSpec::TST TKind) { in ParseDeclOrFunctionDefInternal()
1166 assert(DeclSpec::isDeclRep(TKind)); in ParseDeclOrFunctionDefInternal()
1168 case DeclSpec::TST_class: in ParseDeclOrFunctionDefInternal()
1170 case DeclSpec::TST_struct: in ParseDeclOrFunctionDefInternal()
1172 case DeclSpec::TST_union: in ParseDeclOrFunctionDefInternal()
1174 case DeclSpec::TST_enum: in ParseDeclOrFunctionDefInternal()
1176 case DeclSpec::TST_interface: in ParseDeclOrFunctionDefInternal()
1185 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1224 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1242 DS.getStorageClassSpec() == DeclSpec::SCS_extern && in ParseDeclOrFunctionDefInternal()
1243 DS.getParsedSpecifiers() == DeclSpec::PQ_StorageClassSpecifier) { in ParseDeclOrFunctionDefInternal()
1310 D.getMutableDeclSpec().SetTypeSpecType(DeclSpec::TST_int, in ParseFunctionDefinition()
1566 DeclSpec DS(AttrFactory); in ParseKNRParamDeclarations()
1582 if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified && in ParseKNRParamDeclarations()
1583 DS.getStorageClassSpec() != DeclSpec::SCS_register) { in ParseKNRParamDeclarations()
1588 if (DS.getThreadStorageClassSpec() != DeclSpec::TSCS_unspecified) { in ParseKNRParamDeclarations()