Home
last modified time | relevance | path

Searched refs:ObjCDeclSpec (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Sema/
DSemaObjCProperty.cpp134 if (T.isObjCGCWeak()) return ObjCDeclSpec::DQ_PR_weak; in deducePropertyOwnershipFromType()
141 return ObjCDeclSpec::DQ_PR_weak; in deducePropertyOwnershipFromType()
143 return ObjCDeclSpec::DQ_PR_strong; in deducePropertyOwnershipFromType()
145 return ObjCDeclSpec::DQ_PR_unsafe_unretained; in deducePropertyOwnershipFromType()
181 ObjCDeclSpec &ODS, in ActOnProperty()
187 FD.D.setObjCWeakProperty((Attributes & ObjCDeclSpec::DQ_PR_weak) != 0); in ActOnProperty()
193 bool isReadWrite = ((Attributes & ObjCDeclSpec::DQ_PR_readwrite) || in ActOnProperty()
195 !(Attributes & ObjCDeclSpec::DQ_PR_readonly)); in ActOnProperty()
282 if (Attributes & ObjCDeclSpec::DQ_PR_readonly) in makePropertyAttributesAsWritten()
284 if (Attributes & ObjCDeclSpec::DQ_PR_readwrite) in makePropertyAttributesAsWritten()
[all …]
DSemaCodeComplete.cpp4882 if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) && in ObjCPropertyFlagConflicts()
4883 (Attributes & ObjCDeclSpec::DQ_PR_readwrite)) in ObjCPropertyFlagConflicts()
4887 unsigned AssignCopyRetMask = Attributes & (ObjCDeclSpec::DQ_PR_assign | in ObjCPropertyFlagConflicts()
4888 ObjCDeclSpec::DQ_PR_unsafe_unretained | in ObjCPropertyFlagConflicts()
4889 ObjCDeclSpec::DQ_PR_copy | in ObjCPropertyFlagConflicts()
4890 ObjCDeclSpec::DQ_PR_retain | in ObjCPropertyFlagConflicts()
4891 ObjCDeclSpec::DQ_PR_strong | in ObjCPropertyFlagConflicts()
4892 ObjCDeclSpec::DQ_PR_weak); in ObjCPropertyFlagConflicts()
4894 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_assign && in ObjCPropertyFlagConflicts()
4895 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_unsafe_unretained && in ObjCPropertyFlagConflicts()
[all …]
DSemaDeclObjC.cpp3904 CvtQTToAstBitMask(ObjCDeclSpec::ObjCDeclQualifier PQTVal) { in CvtQTToAstBitMask()
4282 ObjCDeclSpec &ReturnQT, ParsedType ReturnType, in ActOnMethodDeclaration()
DSemaType.cpp3762 ->setObjCDeclQualifier(ObjCDeclSpec::DQ_CSNullability); in GetFullTypeForDeclarator()
/external/clang/lib/Parse/
DParseObjc.cpp736 ObjCDeclSpec OCDS; in ParseObjCInterfaceDeclList()
759 if (OCDS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCInterfaceDeclList()
816 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability()
857 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute()
878 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readonly); in ParseObjCPropertyAttribute()
880 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_assign); in ParseObjCPropertyAttribute()
882 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_unsafe_unretained); in ParseObjCPropertyAttribute()
884 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readwrite); in ParseObjCPropertyAttribute()
886 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_retain); in ParseObjCPropertyAttribute()
888 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_strong); in ParseObjCPropertyAttribute()
[all …]
/external/clang/include/clang/Sema/
DDeclSpec.h46 class ObjCDeclSpec; variable
400 ObjCDeclSpec *ObjCQualifiers;
765 ObjCDeclSpec *getObjCQualifiers() const { return ObjCQualifiers; } in getObjCQualifiers()
766 void setObjCQualifiers(ObjCDeclSpec *quals) { ObjCQualifiers = quals; } in setObjCQualifiers()
776 class ObjCDeclSpec {
816 ObjCDeclSpec() in ObjCDeclSpec() function
DSema.h7507 FieldDeclarator &FD, ObjCDeclSpec &ODS,
7536 ObjCDeclSpec DeclSpec;
7547 ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
9262 void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS);
9265 void CodeCompleteObjCPassingType(Scope *S, ObjCDeclSpec &DS,
/external/clang/include/clang/Parse/
DParser.h1384 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx,
1393 void ParseObjCPropertyAttribute(ObjCDeclSpec &DS);
1873 void ParseObjCTypeQualifierList(ObjCDeclSpec &DS,