Lines Matching refs:DS

825       ParsingDeclSpec DS(*this);  in ParseObjCInterfaceDeclList()  local
826 ParseStructDeclaration(DS, ObjCPropertyCallback); in ParseObjCInterfaceDeclList()
854 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability() argument
857 if (DS.getNullability() == nullability) { in diagnoseRedundantPropertyNullability()
860 << SourceRange(DS.getNullabilityLoc()); in diagnoseRedundantPropertyNullability()
866 << DiagNullabilityKind(DS.getNullability(), true) in diagnoseRedundantPropertyNullability()
867 << SourceRange(DS.getNullabilityLoc()); in diagnoseRedundantPropertyNullability()
896 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute() argument
904 Actions.CodeCompletion().CodeCompleteObjCPropertyFlags(getCurScope(), DS); in ParseObjCPropertyAttribute()
918 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_readonly); in ParseObjCPropertyAttribute()
920 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_assign); in ParseObjCPropertyAttribute()
922 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_unsafe_unretained); in ParseObjCPropertyAttribute()
924 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_readwrite); in ParseObjCPropertyAttribute()
926 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_retain); in ParseObjCPropertyAttribute()
928 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_strong); in ParseObjCPropertyAttribute()
930 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_copy); in ParseObjCPropertyAttribute()
932 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nonatomic); in ParseObjCPropertyAttribute()
934 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_atomic); in ParseObjCPropertyAttribute()
936 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_weak); in ParseObjCPropertyAttribute()
971 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_setter); in ParseObjCPropertyAttribute()
972 DS.setSetterName(SelIdent, SelLoc); in ParseObjCPropertyAttribute()
980 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_getter); in ParseObjCPropertyAttribute()
981 DS.setGetterName(SelIdent, SelLoc); in ParseObjCPropertyAttribute()
984 if (DS.getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability) in ParseObjCPropertyAttribute()
985 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
988 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nullability); in ParseObjCPropertyAttribute()
989 DS.setNullability(Tok.getLocation(), NullabilityKind::NonNull); in ParseObjCPropertyAttribute()
991 if (DS.getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability) in ParseObjCPropertyAttribute()
992 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
995 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nullability); in ParseObjCPropertyAttribute()
996 DS.setNullability(Tok.getLocation(), NullabilityKind::Nullable); in ParseObjCPropertyAttribute()
998 if (DS.getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability) in ParseObjCPropertyAttribute()
999 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
1002 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nullability); in ParseObjCPropertyAttribute()
1003 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute()
1005 if (DS.getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability) in ParseObjCPropertyAttribute()
1006 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
1009 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nullability); in ParseObjCPropertyAttribute()
1010 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute()
1013 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_null_resettable); in ParseObjCPropertyAttribute()
1015 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_class); in ParseObjCPropertyAttribute()
1017 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_direct); in ParseObjCPropertyAttribute()
1199 void Parser::ParseObjCTypeQualifierList(ObjCDeclSpec &DS, in ParseObjCTypeQualifierList() argument
1208 getCurScope(), DS, Context == DeclaratorContext::ObjCParameter); in ParseObjCTypeQualifierList()
1250 DS.setObjCDeclQualifier(Qual); in ParseObjCTypeQualifierList()
1252 DS.setNullability(Tok.getLocation(), Nullability); in ParseObjCTypeQualifierList()
1299 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS, in ParseObjCTypeName() argument
1315 ParseObjCTypeQualifierList(DS, context); in ParseObjCTypeName()
1322 declSpec.setObjCQualifiers(&DS); in ParseObjCTypeName()
1334 if (DS.getObjCDeclQualifier() & ObjCDeclSpec::DQ_CSNullability) in ParseObjCTypeName()
1336 DS.getNullability(), in ParseObjCTypeName()
1337 DS.getNullabilityLoc(), in ParseObjCTypeName()
1542 DeclSpec DS(AttrFactory); in ParseObjCMethodDecl() local
1544 ParseDeclarationSpecifiers(DS, TemplateInfo); in ParseObjCMethodDecl()
1546 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl()
1739 DeclSpec DS(AttrFactory); in parseObjCTypeArgsOrProtocolQualifiers() local
1742 DS.SetTypeSpecType(TST_typename, identifierLocs[i], prevSpec, diagID, in parseObjCTypeArgsOrProtocolQualifiers()
1746 Declarator D(DS, ParsedAttributesView::none(), in parseObjCTypeArgsOrProtocolQualifiers()
2032 ParsingDeclSpec DS(*this); in ParseObjCClassInstanceVariables() local
2033 ParseStructDeclaration(DS, ObjCIvarCallback); in ParseObjCClassInstanceVariables()
2606 DeclSpec DS(AttrFactory); in ParseObjCTryStmt() local
2608 ParseDeclarationSpecifiers(DS, TemplateInfo); in ParseObjCTryStmt()
2609 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt()
2992 DeclSpec DS(AttrFactory); in ParseObjCXXMessageReceiver() local
2993 ParseCXXSimpleTypeSpecifier(DS); in ParseObjCXXMessageReceiver()
3008 ExprResult Receiver = ParseCXXTypeConstructExpression(DS); in ParseObjCXXMessageReceiver()
3024 Declarator DeclaratorInfo(DS, ParsedAttributesView::none(), in ParseObjCXXMessageReceiver()