Lines Matching refs:DS

813                                  ParsingDeclSpec *DS) {  in ParseExternalDeclaration()  argument
1074 return ParseDeclarationOrFunctionDefinition(Attrs, DeclSpecAttrs, DS); in ParseExternalDeclaration()
1140 ParsingDeclSpec &DS, AccessSpecifier AS) { in ParseDeclOrFunctionDefInternal() argument
1144 assert(DS.getSourceRange().isInvalid() && in ParseDeclOrFunctionDefInternal()
1146 DS.SetRangeStart(DeclSpecAttrs.Range.getBegin()); in ParseDeclOrFunctionDefInternal()
1147 DS.SetRangeEnd(DeclSpecAttrs.Range.getEnd()); in ParseDeclOrFunctionDefInternal()
1148 DS.takeAttributesFrom(DeclSpecAttrs); in ParseDeclOrFunctionDefInternal()
1151 MaybeParseMicrosoftAttributes(DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1153 ParseDeclarationSpecifiers(DS, TemplateInfo, AS, in ParseDeclOrFunctionDefInternal()
1158 if (DS.hasTagDefinition() && DiagnoseMissingSemiAfterTagDefinition( in ParseDeclOrFunctionDefInternal()
1159 DS, AS, DeclSpecContext::DSC_top_level)) in ParseDeclOrFunctionDefInternal()
1185 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1186 ? DS.getTypeSpecTypeLoc().getLocWithOffset( in ParseDeclOrFunctionDefInternal()
1187 LengthOfTSTToken(DS.getTypeSpecType())) in ParseDeclOrFunctionDefInternal()
1193 getCurScope(), AS_none, DS, ParsedAttributesView::none(), AnonRecord); in ParseDeclOrFunctionDefInternal()
1194 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1203 if (DS.hasTagDefinition()) in ParseDeclOrFunctionDefInternal()
1204 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclOrFunctionDefInternal()
1219 DS.abort(); in ParseDeclOrFunctionDefInternal()
1220 DS.takeAttributesFrom(Attrs); in ParseDeclOrFunctionDefInternal()
1224 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1229 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1232 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1235 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal()
1242 DS.getStorageClassSpec() == DeclSpec::SCS_extern && in ParseDeclOrFunctionDefInternal()
1243 DS.getParsedSpecifiers() == DeclSpec::PQ_StorageClassSpecifier) { in ParseDeclOrFunctionDefInternal()
1245 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal()
1249 return ParseDeclGroup(DS, DeclaratorContext::File, Attrs, TemplateInfo); in ParseDeclOrFunctionDefInternal()
1254 ParsingDeclSpec *DS, AccessSpecifier AS) { in ParseDeclarationOrFunctionDefinition() argument
1262 if (DS) { in ParseDeclarationOrFunctionDefinition()
1263 return ParseDeclOrFunctionDefInternal(Attrs, DeclSpecAttrs, *DS, AS); in ParseDeclarationOrFunctionDefinition()
1566 DeclSpec DS(AttrFactory); in ParseKNRParamDeclarations() local
1568 ParseDeclarationSpecifiers(DS, TemplateInfo); in ParseKNRParamDeclarations()
1582 if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified && in ParseKNRParamDeclarations()
1583 DS.getStorageClassSpec() != DeclSpec::SCS_register) { in ParseKNRParamDeclarations()
1584 Diag(DS.getStorageClassSpecLoc(), in ParseKNRParamDeclarations()
1586 DS.ClearStorageClassSpecs(); in ParseKNRParamDeclarations()
1588 if (DS.getThreadStorageClassSpec() != DeclSpec::TSCS_unspecified) { in ParseKNRParamDeclarations()
1589 Diag(DS.getThreadStorageClassSpecLoc(), in ParseKNRParamDeclarations()
1591 DS.ClearStorageClassSpecs(); in ParseKNRParamDeclarations()
1595 Declarator ParmDeclarator(DS, ParsedAttributesView::none(), in ParseKNRParamDeclarations()