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.cpp4862 if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) && in ObjCPropertyFlagConflicts()
4863 (Attributes & ObjCDeclSpec::DQ_PR_readwrite)) in ObjCPropertyFlagConflicts()
4867 unsigned AssignCopyRetMask = Attributes & (ObjCDeclSpec::DQ_PR_assign | in ObjCPropertyFlagConflicts()
4868 ObjCDeclSpec::DQ_PR_unsafe_unretained | in ObjCPropertyFlagConflicts()
4869 ObjCDeclSpec::DQ_PR_copy | in ObjCPropertyFlagConflicts()
4870 ObjCDeclSpec::DQ_PR_retain | in ObjCPropertyFlagConflicts()
4871 ObjCDeclSpec::DQ_PR_strong | in ObjCPropertyFlagConflicts()
4872 ObjCDeclSpec::DQ_PR_weak); in ObjCPropertyFlagConflicts()
4874 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_assign && in ObjCPropertyFlagConflicts()
4875 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_unsafe_unretained && in ObjCPropertyFlagConflicts()
[all …]
DSemaDeclObjC.cpp3755 CvtQTToAstBitMask(ObjCDeclSpec::ObjCDeclQualifier PQTVal) { in CvtQTToAstBitMask()
4133 ObjCDeclSpec &ReturnQT, ParsedType ReturnType, in ActOnMethodDeclaration()
DSemaType.cpp3521 ->setObjCDeclQualifier(ObjCDeclSpec::DQ_CSNullability); in GetFullTypeForDeclarator()
/external/clang/lib/Parse/
DParseObjc.cpp750 ObjCDeclSpec OCDS; in ParseObjCInterfaceDeclList()
773 if (OCDS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCInterfaceDeclList()
830 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability()
870 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &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()
[all …]
/external/clang/include/clang/Sema/
DDeclSpec.h46 class ObjCDeclSpec; variable
392 ObjCDeclSpec *ObjCQualifiers;
748 ObjCDeclSpec *getObjCQualifiers() const { return ObjCQualifiers; } in getObjCQualifiers()
749 void setObjCQualifiers(ObjCDeclSpec *quals) { ObjCQualifiers = quals; } in setObjCQualifiers()
759 class ObjCDeclSpec {
797 ObjCDeclSpec() in ObjCDeclSpec() function
DSema.h7337 FieldDeclarator &FD, ObjCDeclSpec &ODS,
7365 ObjCDeclSpec DeclSpec;
7376 ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
8880 void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS);
8883 void CodeCompleteObjCPassingType(Scope *S, ObjCDeclSpec &DS,
/external/clang/include/clang/Parse/
DParser.h1362 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx,
1371 void ParseObjCPropertyAttribute(ObjCDeclSpec &DS);
1840 void ParseObjCTypeQualifierList(ObjCDeclSpec &DS,