Searched refs:ObjCDeclSpec (Results 1 – 8 of 8) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaObjCProperty.cpp | 133 if (T.isObjCGCWeak()) return ObjCDeclSpec::DQ_PR_weak; in deducePropertyOwnershipFromType() 140 return ObjCDeclSpec::DQ_PR_weak; in deducePropertyOwnershipFromType() 142 return ObjCDeclSpec::DQ_PR_strong; in deducePropertyOwnershipFromType() 144 return ObjCDeclSpec::DQ_PR_unsafe_unretained; in deducePropertyOwnershipFromType() 180 ObjCDeclSpec &ODS, in ActOnProperty() 186 FD.D.setObjCWeakProperty((Attributes & ObjCDeclSpec::DQ_PR_weak) != 0); in ActOnProperty() 192 bool isReadWrite = ((Attributes & ObjCDeclSpec::DQ_PR_readwrite) || in ActOnProperty() 194 !(Attributes & ObjCDeclSpec::DQ_PR_readonly)); in ActOnProperty() 283 if (Attributes & ObjCDeclSpec::DQ_PR_readonly) in makePropertyAttributesAsWritten() 285 if (Attributes & ObjCDeclSpec::DQ_PR_readwrite) in makePropertyAttributesAsWritten() [all …]
|
| HD | SemaCodeComplete.cpp | 6066 if ((Attributes & ObjCDeclSpec::DQ_PR_readonly) && in ObjCPropertyFlagConflicts() 6067 (Attributes & ObjCDeclSpec::DQ_PR_readwrite)) in ObjCPropertyFlagConflicts() 6073 (ObjCDeclSpec::DQ_PR_assign | ObjCDeclSpec::DQ_PR_unsafe_unretained | in ObjCPropertyFlagConflicts() 6074 ObjCDeclSpec::DQ_PR_copy | ObjCDeclSpec::DQ_PR_retain | in ObjCPropertyFlagConflicts() 6075 ObjCDeclSpec::DQ_PR_strong | ObjCDeclSpec::DQ_PR_weak); in ObjCPropertyFlagConflicts() 6076 if (AssignCopyRetMask && AssignCopyRetMask != ObjCDeclSpec::DQ_PR_assign && in ObjCPropertyFlagConflicts() 6077 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_unsafe_unretained && in ObjCPropertyFlagConflicts() 6078 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_copy && in ObjCPropertyFlagConflicts() 6079 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_retain && in ObjCPropertyFlagConflicts() 6080 AssignCopyRetMask != ObjCDeclSpec::DQ_PR_strong && in ObjCPropertyFlagConflicts() [all …]
|
| HD | SemaDeclObjC.cpp | 4157 CvtQTToAstBitMask(ObjCDeclSpec::ObjCDeclQualifier PQTVal) { in CvtQTToAstBitMask() 4585 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType, in ActOnMethodDeclaration()
|
| HD | SemaType.cpp | 4443 ->setObjCDeclQualifier(ObjCDeclSpec::DQ_CSNullability); in GetFullTypeForDeclarator()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/ |
| HD | ParseObjc.cpp | 720 ObjCDeclSpec OCDS; in ParseObjCInterfaceDeclList() 743 if (OCDS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCInterfaceDeclList() 800 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability() 842 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute() 863 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readonly); in ParseObjCPropertyAttribute() 865 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_assign); in ParseObjCPropertyAttribute() 867 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_unsafe_unretained); in ParseObjCPropertyAttribute() 869 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readwrite); in ParseObjCPropertyAttribute() 871 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_retain); in ParseObjCPropertyAttribute() 873 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_strong); in ParseObjCPropertyAttribute() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| HD | DeclSpec.h | 46 class ObjCDeclSpec; variable 409 ObjCDeclSpec *ObjCQualifiers; 803 ObjCDeclSpec *getObjCQualifiers() const { return ObjCQualifiers; } in getObjCQualifiers() 804 void setObjCQualifiers(ObjCDeclSpec *quals) { ObjCQualifiers = quals; } in setObjCQualifiers() 814 class ObjCDeclSpec { 855 ObjCDeclSpec() in ObjCDeclSpec() function
|
| HD | Sema.h | 9091 FieldDeclarator &FD, ObjCDeclSpec &ODS, 9120 ObjCDeclSpec DeclSpec; 9130 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType, 11591 void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS); 11594 void CodeCompleteObjCPassingType(Scope *S, ObjCDeclSpec &DS,
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/ |
| HD | Parser.h | 1662 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, DeclaratorContext Ctx, 1671 void ParseObjCPropertyAttribute(ObjCDeclSpec &DS); 2231 void ParseObjCTypeQualifierList(ObjCDeclSpec &DS,
|