Home
last modified time | relevance | path

Searched refs:ObjCDeclSpec (Results 1 – 15 of 15) 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/llvm-project/clang/lib/Parse/
DParseObjc.cpp720 ObjCDeclSpec OCDS; in ParseObjCInterfaceDeclList()
801 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability()
843 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute()
1142 void Parser::ParseObjCTypeQualifierList(ObjCDeclSpec &DS, in ParseObjCTypeQualifierList()
1164 ObjCDeclSpec::ObjCDeclQualifier Qual; in ParseObjCTypeQualifierList()
1168 case objc_in: Qual = ObjCDeclSpec::DQ_In; break; in ParseObjCTypeQualifierList()
1169 case objc_out: Qual = ObjCDeclSpec::DQ_Out; break; in ParseObjCTypeQualifierList()
1170 case objc_inout: Qual = ObjCDeclSpec::DQ_Inout; break; in ParseObjCTypeQualifierList()
1171 case objc_oneway: Qual = ObjCDeclSpec::DQ_Oneway; break; in ParseObjCTypeQualifierList()
1172 case objc_bycopy: Qual = ObjCDeclSpec::DQ_Bycopy; break; in ParseObjCTypeQualifierList()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h47 class ObjCDeclSpec; variable
399 ObjCDeclSpec *ObjCQualifiers;
811 ObjCDeclSpec *getObjCQualifiers() const { return ObjCQualifiers; } in getObjCQualifiers()
812 void setObjCQualifiers(ObjCDeclSpec *quals) { ObjCQualifiers = quals; } in setObjCQualifiers()
822 class ObjCDeclSpec {
841 ObjCDeclSpec() in ObjCDeclSpec() function
DSema.h9490 FieldDeclarator &FD, ObjCDeclSpec &ODS,
9519 ObjCDeclSpec DeclSpec;
9529 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
12102 void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS);
12105 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,
/external/llvm-project/clang/include/clang/Parse/
DParser.h1730 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, DeclaratorContext Ctx,
1738 void ParseObjCPropertyAttribute(ObjCDeclSpec &DS);
2363 void ParseObjCTypeQualifierList(ObjCDeclSpec &DS,
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp6640 void Sema::CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS) { in CodeCompleteObjCPropertyFlags()
6922 void Sema::CodeCompleteObjCPassingType(Scope *S, ObjCDeclSpec &DS, in CodeCompleteObjCPassingType()
6932 (ObjCDeclSpec::DQ_In | ObjCDeclSpec::DQ_Inout)) == 0) { in CodeCompleteObjCPassingType()
6938 (ObjCDeclSpec::DQ_Out | ObjCDeclSpec::DQ_Inout)) == 0) { in CodeCompleteObjCPassingType()
6944 (ObjCDeclSpec::DQ_Bycopy | ObjCDeclSpec::DQ_Byref | in CodeCompleteObjCPassingType()
6945 ObjCDeclSpec::DQ_Oneway)) == 0) { in CodeCompleteObjCPassingType()
6950 if ((DS.getObjCDeclQualifier() & ObjCDeclSpec::DQ_CSNullability) == 0) { in CodeCompleteObjCPassingType()
DSemaDeclObjC.cpp4217 CvtQTToAstBitMask(ObjCDeclSpec::ObjCDeclQualifier PQTVal) { in CvtQTToAstBitMask()
4701 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType, in ActOnMethodDeclaration()
DSemaObjCProperty.cpp177 ObjCDeclSpec &ODS, in ActOnProperty()
DSemaType.cpp4667 ->setObjCDeclQualifier(ObjCDeclSpec::DQ_CSNullability); in GetFullTypeForDeclarator()
/external/clang/include/clang/Sema/
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,