Lines Matching refs:DeclSpec
178 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, DeclSpec::TST TST) { in ConsumeExtraSemi()
206 << Kind << DeclSpec::getSpecifierName(TST, in ConsumeExtraSemi()
1131 auto LengthOfTSTToken = [](DeclSpec::TST TKind) { in ParseDeclOrFunctionDefInternal()
1132 assert(DeclSpec::isDeclRep(TKind)); in ParseDeclOrFunctionDefInternal()
1134 case DeclSpec::TST_class: in ParseDeclOrFunctionDefInternal()
1136 case DeclSpec::TST_struct: in ParseDeclOrFunctionDefInternal()
1138 case DeclSpec::TST_union: in ParseDeclOrFunctionDefInternal()
1140 case DeclSpec::TST_enum: in ParseDeclOrFunctionDefInternal()
1142 case DeclSpec::TST_interface: in ParseDeclOrFunctionDefInternal()
1151 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1186 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1204 DS.getStorageClassSpec() == DeclSpec::SCS_extern && in ParseDeclOrFunctionDefInternal()
1205 DS.getParsedSpecifiers() == DeclSpec::PQ_StorageClassSpecifier) { in ParseDeclOrFunctionDefInternal()
1261 D.getMutableDeclSpec().SetTypeSpecType(DeclSpec::TST_int, in ParseFunctionDefinition()
1502 DeclSpec DS(AttrFactory); in ParseKNRParamDeclarations()
1517 if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified && in ParseKNRParamDeclarations()
1518 DS.getStorageClassSpec() != DeclSpec::SCS_register) { in ParseKNRParamDeclarations()
1523 if (DS.getThreadStorageClassSpec() != DeclSpec::TSCS_unspecified) { in ParseKNRParamDeclarations()