Lines Matching refs:DeclSpec

178 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, DeclSpec::TST TST) {  in ConsumeExtraSemi()
206 << Kind << DeclSpec::getSpecifierName(TST, in ConsumeExtraSemi()
1099 auto LengthOfTSTToken = [](DeclSpec::TST TKind) { in ParseDeclOrFunctionDefInternal()
1100 assert(DeclSpec::isDeclRep(TKind)); in ParseDeclOrFunctionDefInternal()
1102 case DeclSpec::TST_class: in ParseDeclOrFunctionDefInternal()
1104 case DeclSpec::TST_struct: in ParseDeclOrFunctionDefInternal()
1106 case DeclSpec::TST_union: in ParseDeclOrFunctionDefInternal()
1108 case DeclSpec::TST_enum: in ParseDeclOrFunctionDefInternal()
1110 case DeclSpec::TST_interface: in ParseDeclOrFunctionDefInternal()
1119 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1154 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1172 DS.getStorageClassSpec() == DeclSpec::SCS_extern && in ParseDeclOrFunctionDefInternal()
1173 DS.getParsedSpecifiers() == DeclSpec::PQ_StorageClassSpecifier) { in ParseDeclOrFunctionDefInternal()
1228 D.getMutableDeclSpec().SetTypeSpecType(DeclSpec::TST_int, in ParseFunctionDefinition()
1469 DeclSpec DS(AttrFactory); in ParseKNRParamDeclarations()
1484 if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified && in ParseKNRParamDeclarations()
1485 DS.getStorageClassSpec() != DeclSpec::SCS_register) { in ParseKNRParamDeclarations()
1490 if (DS.getThreadStorageClassSpec() != DeclSpec::TSCS_unspecified) { in ParseKNRParamDeclarations()