Lines Matching refs:DS

781                                                         ParsingDeclSpec *DS) {  in ParseExternalDeclaration()  argument
1019 return ParseDeclarationOrFunctionDefinition(Attrs, DS); in ParseExternalDeclaration()
1084 ParsedAttributes &Attrs, ParsingDeclSpec &DS, AccessSpecifier AS) { in ParseDeclOrFunctionDefInternal() argument
1085 MaybeParseMicrosoftAttributes(DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1087 ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS, in ParseDeclOrFunctionDefInternal()
1092 if (DS.hasTagDefinition() && DiagnoseMissingSemiAfterTagDefinition( in ParseDeclOrFunctionDefInternal()
1093 DS, AS, DeclSpecContext::DSC_top_level)) in ParseDeclOrFunctionDefInternal()
1119 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1120 ? DS.getTypeSpecTypeLoc().getLocWithOffset( in ParseDeclOrFunctionDefInternal()
1121 LengthOfTSTToken(DS.getTypeSpecType())) in ParseDeclOrFunctionDefInternal()
1127 getCurScope(), AS_none, DS, ParsedAttributesView::none(), AnonRecord); in ParseDeclOrFunctionDefInternal()
1128 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1149 DS.abort(); in ParseDeclOrFunctionDefInternal()
1150 DS.takeAttributesFrom(Attrs); in ParseDeclOrFunctionDefInternal()
1154 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1159 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1162 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1165 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal()
1172 DS.getStorageClassSpec() == DeclSpec::SCS_extern && in ParseDeclOrFunctionDefInternal()
1173 DS.getParsedSpecifiers() == DeclSpec::PQ_StorageClassSpecifier) { in ParseDeclOrFunctionDefInternal()
1175 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal()
1179 return ParseDeclGroup(DS, DeclaratorContext::File, Attrs); in ParseDeclOrFunctionDefInternal()
1183 ParsedAttributes &Attrs, ParsingDeclSpec *DS, AccessSpecifier AS) { in ParseDeclarationOrFunctionDefinition() argument
1184 if (DS) { in ParseDeclarationOrFunctionDefinition()
1185 return ParseDeclOrFunctionDefInternal(Attrs, *DS, AS); in ParseDeclarationOrFunctionDefinition()
1469 DeclSpec DS(AttrFactory); in ParseKNRParamDeclarations() local
1470 ParseDeclarationSpecifiers(DS); in ParseKNRParamDeclarations()
1484 if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified && in ParseKNRParamDeclarations()
1485 DS.getStorageClassSpec() != DeclSpec::SCS_register) { in ParseKNRParamDeclarations()
1486 Diag(DS.getStorageClassSpecLoc(), in ParseKNRParamDeclarations()
1488 DS.ClearStorageClassSpecs(); in ParseKNRParamDeclarations()
1490 if (DS.getThreadStorageClassSpec() != DeclSpec::TSCS_unspecified) { in ParseKNRParamDeclarations()
1491 Diag(DS.getThreadStorageClassSpecLoc(), in ParseKNRParamDeclarations()
1493 DS.ClearStorageClassSpecs(); in ParseKNRParamDeclarations()
1497 Declarator ParmDeclarator(DS, ParsedAttributesView::none(), in ParseKNRParamDeclarations()