HomeSort by: relevance | last modified time | path
    Searched refs:ObjCPropertyAttribute (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaObjCProperty.cpp 39 getImpliedARCOwnership(ObjCPropertyAttribute::Kind attrs, QualType type) {
43 (ObjCPropertyAttribute::kind_retain | ObjCPropertyAttribute::kind_strong |
44 ObjCPropertyAttribute::kind_copy)) {
46 } else if (attrs & ObjCPropertyAttribute::kind_weak) {
48 } else if (attrs & ObjCPropertyAttribute::kind_unsafe_unretained) {
54 if (attrs & ObjCPropertyAttribute::kind_assign &&
68 ObjCPropertyAttribute::Kind propertyKind = property->getPropertyAttributes();
81 ObjCPropertyAttribute::Kind attr;
83 attr = ObjCPropertyAttribute::kind_strong
    [all...]
SemaCodeComplete.cpp 6779 if ((Attributes & ObjCPropertyAttribute::kind_readonly) &&
6780 (Attributes & ObjCPropertyAttribute::kind_readwrite))
6786 (ObjCPropertyAttribute::kind_assign |
6787 ObjCPropertyAttribute::kind_unsafe_unretained |
6788 ObjCPropertyAttribute::kind_copy | ObjCPropertyAttribute::kind_retain |
6789 ObjCPropertyAttribute::kind_strong | ObjCPropertyAttribute::kind_weak);
6791 AssignCopyRetMask != ObjCPropertyAttribute::kind_assign &&
6792 AssignCopyRetMask != ObjCPropertyAttribute::kind_unsafe_unretained &
    [all...]
SemaPseudoObject.cpp 585 if (Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak)
SemaExprObjC.cpp 2083 ObjCPropertyAttribute::kind_setter))
3387 Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak;
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclObjCCommon.h 19 /// ObjCPropertyAttribute::Kind - list of property attributes.
21 namespace ObjCPropertyAttribute {
46 } // namespace ObjCPropertyAttribute::Kind
DeclObjC.h 777 PropertyAttributes(ObjCPropertyAttribute::kind_noattr),
778 PropertyAttributesAsWritten(ObjCPropertyAttribute::kind_noattr),
812 ObjCPropertyAttribute::Kind getPropertyAttributes() const {
813 return ObjCPropertyAttribute::Kind(PropertyAttributes);
816 void setPropertyAttributes(ObjCPropertyAttribute::Kind PRVal) {
824 ObjCPropertyAttribute::Kind getPropertyAttributesAsWritten() const {
825 return ObjCPropertyAttribute::Kind(PropertyAttributesAsWritten);
828 void setPropertyAttributesAsWritten(ObjCPropertyAttribute::Kind PRVal) {
836 return (PropertyAttributes & ObjCPropertyAttribute::kind_readonly);
841 return (PropertyAttributes & ObjCPropertyAttribute::kind_atomic)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransProperties.cpp 170 ObjCPropertyAttribute::Kind propAttrs = getPropertyAttrs(props);
173 (ObjCPropertyAttribute::kind_copy |
174 ObjCPropertyAttribute::kind_unsafe_unretained |
175 ObjCPropertyAttribute::kind_strong | ObjCPropertyAttribute::kind_weak))
178 if (propAttrs & ObjCPropertyAttribute::kind_retain) {
185 if (propAttrs & ObjCPropertyAttribute::kind_assign) {
359 ObjCPropertyAttribute::Kind getPropertyAttrs(PropsTy &props) const {
361 ObjCPropertyAttribute::Kind attrs =
TransZeroOutPropsInDealloc.cpp 121 ObjCPropertyAttribute::Kind AttrKind = PD->getPropertyAttributes();
122 if (AttrKind & (ObjCPropertyAttribute::kind_retain |
123 ObjCPropertyAttribute::kind_copy |
124 ObjCPropertyAttribute::kind_strong))
TransGCAttrs.cpp 234 ObjCPropertyAttribute::Kind Attrs = ObjCPropertyAttribute::kind_noattr;
276 if (Attrs & ObjCPropertyAttribute::kind_assign)
304 (ObjCPropertyAttribute::kind_assign |
305 ObjCPropertyAttribute::kind_readonly)) {
  /src/external/apache2/llvm/dist/clang/lib/AST/
JSONNodeDumper.cpp 1016 ObjCPropertyAttribute::Kind Attrs = D->getPropertyAttributes();
1017 if (Attrs != ObjCPropertyAttribute::kind_noattr) {
1018 if (Attrs & ObjCPropertyAttribute::kind_getter)
1020 if (Attrs & ObjCPropertyAttribute::kind_setter)
1023 Attrs & ObjCPropertyAttribute::kind_readonly);
1024 attributeOnlyIfTrue("assign", Attrs & ObjCPropertyAttribute::kind_assign);
1026 Attrs & ObjCPropertyAttribute::kind_readwrite);
1027 attributeOnlyIfTrue("retain", Attrs & ObjCPropertyAttribute::kind_retain);
1028 attributeOnlyIfTrue("copy", Attrs & ObjCPropertyAttribute::kind_copy);
1030 Attrs & ObjCPropertyAttribute::kind_nonatomic)
    [all...]
DeclPrinter.cpp 1483 if (PDecl->getPropertyAttributes() != ObjCPropertyAttribute::kind_noattr) {
1486 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_class) {
1491 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_direct) {
1497 ObjCPropertyAttribute::kind_nonatomic) {
1501 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic) {
1506 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_assign) {
1510 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_retain) {
1515 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_strong) {
1519 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_copy) {
1523 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak)
    [all...]
TextNodeDumper.cpp 2233 ObjCPropertyAttribute::Kind Attrs = D->getPropertyAttributes();
2234 if (Attrs != ObjCPropertyAttribute::kind_noattr) {
2235 if (Attrs & ObjCPropertyAttribute::kind_readonly)
2237 if (Attrs & ObjCPropertyAttribute::kind_assign)
2239 if (Attrs & ObjCPropertyAttribute::kind_readwrite)
2241 if (Attrs & ObjCPropertyAttribute::kind_retain)
2243 if (Attrs & ObjCPropertyAttribute::kind_copy)
2245 if (Attrs & ObjCPropertyAttribute::kind_nonatomic)
2247 if (Attrs & ObjCPropertyAttribute::kind_atomic)
2249 if (Attrs & ObjCPropertyAttribute::kind_weak
    [all...]
DeclObjC.cpp 151 ObjCPropertyAttribute::kind_readwrite)
2300 return (PropertyAttributes & ObjCPropertyAttribute::kind_direct) &&
ASTContext.cpp 7124 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_copy)
7126 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_retain)
7128 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak)
7144 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_nonatomic)
7147 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_getter) {
7152 if (PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_setter) {
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseObjc.cpp 746 ObjCPropertyAttribute::kind_nullability)
868 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_readonly);
870 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_assign);
872 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_unsafe_unretained);
874 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_readwrite);
876 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_retain);
878 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_strong);
880 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_copy);
882 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_nonatomic);
884 DS.setPropertyAttributes(ObjCPropertyAttribute::kind_atomic)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
DeclSpec.h 843 PropertyAttributes(ObjCPropertyAttribute::kind_noattr), Nullability(0),
856 ObjCPropertyAttribute::Kind getPropertyAttributes() const {
857 return ObjCPropertyAttribute::Kind(PropertyAttributes);
859 void setPropertyAttributes(ObjCPropertyAttribute::Kind PRVal) {
861 (ObjCPropertyAttribute::Kind)(PropertyAttributes | PRVal);
867 (getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability)) &&
875 (getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability)) &&
883 (getPropertyAttributes() & ObjCPropertyAttribute::kind_nullability)) &&
911 // NOTE: VC++ treats enums as signed, avoid using ObjCPropertyAttribute::Kind
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 774 if (Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak)
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 946 !(Attributes & ObjCPropertyAttribute::kind_nonatomic) &&
947 (Attributes & (ObjCPropertyAttribute::kind_retain |
948 ObjCPropertyAttribute::kind_copy));
1007 bool GenSetProperty = Attributes & (ObjCPropertyAttribute::kind_retain |
1008 ObjCPropertyAttribute::kind_copy);
1027 if (Attributes & ObjCPropertyAttribute::kind_nonatomic)
1031 if (Attributes & ObjCPropertyAttribute::kind_copy)
RewriteObjC.cpp 794 !(Attributes & ObjCPropertyAttribute::kind_nonatomic) &&
795 (Attributes & (ObjCPropertyAttribute::kind_retain |
796 ObjCPropertyAttribute::kind_copy));
855 bool GenSetProperty = Attributes & (ObjCPropertyAttribute::kind_retain |
856 ObjCPropertyAttribute::kind_copy);
875 if (Attributes & ObjCPropertyAttribute::kind_nonatomic)
879 if (Attributes & ObjCPropertyAttribute::kind_copy)
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjCGNU.cpp 248 if (attrs & ObjCPropertyAttribute::kind_readonly) {
249 attrs &= ~ObjCPropertyAttribute::kind_copy;
250 attrs &= ~ObjCPropertyAttribute::kind_retain;
251 attrs &= ~ObjCPropertyAttribute::kind_weak;
252 attrs &= ~ObjCPropertyAttribute::kind_strong;
CGObjC.cpp 3668 if ((!(PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic)))
3752 if ((!(PD->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic)))
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderDecl.cpp 1296 D->setPropertyAttributes((ObjCPropertyAttribute::Kind)Record.readInt());
1298 (ObjCPropertyAttribute::Kind)Record.readInt());
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 8255 ObjCPropertyAttribute::Kind Attr = PD->getPropertyAttributesAsWritten();
8258 if (Attr & ObjCPropertyAttribute::kind_##A) \

Completed in 109 milliseconds