• Home
  • Raw
  • Download

Lines Matching refs:DS

799       ParsingDeclSpec DS(*this);  in ParseObjCInterfaceDeclList()  local
800 ParseStructDeclaration(DS, ObjCPropertyCallback); in ParseObjCInterfaceDeclList()
830 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability() argument
833 if (DS.getNullability() == nullability) { in diagnoseRedundantPropertyNullability()
836 << SourceRange(DS.getNullabilityLoc()); in diagnoseRedundantPropertyNullability()
842 << DiagNullabilityKind(DS.getNullability(), true) in diagnoseRedundantPropertyNullability()
843 << SourceRange(DS.getNullabilityLoc()); in diagnoseRedundantPropertyNullability()
870 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute() argument
877 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS); in ParseObjCPropertyAttribute()
891 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readonly); in ParseObjCPropertyAttribute()
893 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_assign); in ParseObjCPropertyAttribute()
895 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_unsafe_unretained); in ParseObjCPropertyAttribute()
897 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readwrite); in ParseObjCPropertyAttribute()
899 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_retain); in ParseObjCPropertyAttribute()
901 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_strong); in ParseObjCPropertyAttribute()
903 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_copy); in ParseObjCPropertyAttribute()
905 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nonatomic); in ParseObjCPropertyAttribute()
907 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_atomic); in ParseObjCPropertyAttribute()
909 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_weak); in ParseObjCPropertyAttribute()
941 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_setter); in ParseObjCPropertyAttribute()
942 DS.setSetterName(SelIdent); in ParseObjCPropertyAttribute()
950 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_getter); in ParseObjCPropertyAttribute()
951 DS.setGetterName(SelIdent); in ParseObjCPropertyAttribute()
954 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
955 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
958 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
959 DS.setNullability(Tok.getLocation(), NullabilityKind::NonNull); in ParseObjCPropertyAttribute()
961 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
962 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
965 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
966 DS.setNullability(Tok.getLocation(), NullabilityKind::Nullable); in ParseObjCPropertyAttribute()
968 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
969 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
972 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
973 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute()
975 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
976 diagnoseRedundantPropertyNullability(*this, DS, in ParseObjCPropertyAttribute()
979 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
980 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute()
983 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_null_resettable); in ParseObjCPropertyAttribute()
1161 void Parser::ParseObjCTypeQualifierList(ObjCDeclSpec &DS, in ParseObjCTypeQualifierList() argument
1168 Actions.CodeCompleteObjCPassingType(getCurScope(), DS, in ParseObjCTypeQualifierList()
1211 DS.setObjCDeclQualifier(Qual); in ParseObjCTypeQualifierList()
1213 DS.setNullability(Tok.getLocation(), Nullability); in ParseObjCTypeQualifierList()
1263 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS, in ParseObjCTypeName() argument
1280 ParseObjCTypeQualifierList(DS, context); in ParseObjCTypeName()
1286 declSpec.setObjCQualifiers(&DS); in ParseObjCTypeName()
1299 if (DS.getObjCDeclQualifier() & ObjCDeclSpec::DQ_CSNullability) in ParseObjCTypeName()
1301 DS.getNullability(), in ParseObjCTypeName()
1302 DS.getNullabilityLoc(), in ParseObjCTypeName()
1517 DeclSpec DS(AttrFactory); in ParseObjCMethodDecl() local
1518 ParseDeclarationSpecifiers(DS); in ParseObjCMethodDecl()
1520 Declarator ParmDecl(DS, Declarator::PrototypeContext); in ParseObjCMethodDecl()
1718 DeclSpec DS(AttrFactory); in parseObjCTypeArgsOrProtocolQualifiers() local
1721 DS.SetTypeSpecType(TST_typename, identifierLocs[i], prevSpec, diagID, in parseObjCTypeArgsOrProtocolQualifiers()
1725 Declarator D(DS, Declarator::TypeNameContext); in parseObjCTypeArgsOrProtocolQualifiers()
1969 ParsingDeclSpec DS(*this); in ParseObjCClassInstanceVariables() local
1970 ParseStructDeclaration(DS, ObjCIvarCallback); in ParseObjCClassInstanceVariables()
2512 DeclSpec DS(AttrFactory); in ParseObjCTryStmt() local
2513 ParseDeclarationSpecifiers(DS); in ParseObjCTryStmt()
2514 Declarator ParmDecl(DS, Declarator::ObjCCatchContext); in ParseObjCTryStmt()
2870 DeclSpec DS(AttrFactory); in ParseObjCXXMessageReceiver() local
2871 ParseCXXSimpleTypeSpecifier(DS); in ParseObjCXXMessageReceiver()
2886 ExprResult Receiver = ParseCXXTypeConstructExpression(DS); in ParseObjCXXMessageReceiver()
2902 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseObjCXXMessageReceiver()