/external/clang/test/Index/ |
D | arc-annotate.m | 16 // CHECK: Punctuation: "@" [2:1 - 2:2] ObjCPropertyDecl=property:2:34 17 // CHECK: Keyword: "property" [2:2 - 2:10] ObjCPropertyDecl=property:2:34 18 // CHECK: Punctuation: "(" [2:11 - 2:12] ObjCPropertyDecl=property:2:34 19 // CHECK: Keyword: "strong" [2:12 - 2:18] ObjCPropertyDecl=property:2:34 20 // CHECK: Punctuation: "," [2:18 - 2:19] ObjCPropertyDecl=property:2:34 21 // CHECK: Keyword: "nonatomic" [2:20 - 2:29] ObjCPropertyDecl=property:2:34 22 // CHECK: Punctuation: ")" [2:29 - 2:30] ObjCPropertyDecl=property:2:34 24 // CHECK: Identifier: "property" [2:34 - 2:42] ObjCPropertyDecl=property:2:34 26 // CHECK: Punctuation: "@" [3:1 - 3:2] ObjCPropertyDecl=second_property:3:32 27 // CHECK: Keyword: "property" [3:2 - 3:10] ObjCPropertyDecl=second_property:3:32 [all …]
|
D | complete-properties.m | 60 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText Prop0} 61 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText Prop1} 62 // CHECK-CC1: ObjCPropertyDecl:{ResultType float}{TypedText Prop2} 63 // CHECK-CC1: ObjCPropertyDecl:{ResultType id}{TypedText Prop3} 64 // CHECK-CC1: ObjCPropertyDecl:{ResultType id}{TypedText Prop4} 66 // CHECK-CC2: ObjCPropertyDecl:{ResultType int}{TypedText Prop0} 67 // CHECK-CC2: ObjCPropertyDecl:{ResultType int}{TypedText Prop1} 68 // CHECK-CC2-NEXT: ObjCPropertyDecl:{ResultType id}{TypedText Prop3} 69 // CHECK-CC2: ObjCPropertyDecl:{ResultType id}{TypedText Prop4} 76 // CHECK-CC4: ObjCPropertyDecl:{ResultType int}{TypedText Prop0} [all …]
|
D | annotate-tokens.m | 342 // CHECK: Punctuation: "@" [56:1 - 56:2] ObjCPropertyDecl=aPropOutlet:56:26 343 // CHECK: Keyword: "property" [56:2 - 56:10] ObjCPropertyDecl=aPropOutlet:56:26 345 // CHECK: Keyword: "int" [56:20 - 56:23] ObjCPropertyDecl=aPropOutlet:56:26 346 // CHECK: Punctuation: "*" [56:24 - 56:25] ObjCPropertyDecl=aPropOutlet:56:26 347 // CHECK: Identifier: "aPropOutlet" [56:26 - 56:37] ObjCPropertyDecl=aPropOutlet:56:26 502 // CHECK: Punctuation: "@" [110:1 - 110:2] ObjCPropertyDecl=foo:110:33 503 // CHECK: Keyword: "property" [110:2 - 110:10] ObjCPropertyDecl=foo:110:33 504 // CHECK: Punctuation: "(" [110:11 - 110:12] ObjCPropertyDecl=foo:110:33 505 // CHECK: Keyword: "readonly" [110:12 - 110:20] ObjCPropertyDecl=foo:110:33 506 // CHECK: Punctuation: "," [110:20 - 110:21] ObjCPropertyDecl=foo:110:33 [all …]
|
D | complete-member-access.m | 46 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText prop1} 47 // CHECK-CC1: ObjCPropertyDecl:{ResultType float}{TypedText ProtoProp} 63 // CHECK-CC3: ObjCPropertyDecl:{ResultType int}{TypedText myProp} (35) 64 // CHECK-CC3: ObjCPropertyDecl:{ResultType int}{TypedText prop1} (35) 65 // CHECK-CC3: ObjCPropertyDecl:{ResultType float}{TypedText ProtoProp} (35) 74 // CHECK-CC4-NEXT: ObjCPropertyDecl:{ResultType int}{TypedText myProp} (35) 75 // CHECK-CC4-NEXT: ObjCPropertyDecl:{ResultType int}{TypedText prop1} (35) 76 // CHECK-CC4-NEXT: ObjCPropertyDecl:{ResultType float}{TypedText ProtoProp} (35)
|
D | properties-class-extensions.m | 51 // CHECK: properties-class-extensions.m:6:15: ObjCPropertyDecl=a:6:15 Extent=[6:1 - 6:16] 57 // CHECK: properties-class-extensions.m:9:15: ObjCPropertyDecl=b:9:15 Extent=[9:1 - 9:16] 63 // CHECK: properties-class-extensions.m:16:25: ObjCPropertyDecl=bar:16:25 [readonly,] Extent=[16:1 … 68 // CHECK: properties-class-extensions.m:19:26: ObjCPropertyDecl=bar:19:26 [readwrite,] Extent=[19:1… 76 // CHECK: properties-class-extensions.m:26:39: ObjCPropertyDecl=Rdar8467189_Bar:26:39 [readonly,] E… 81 // CHECK-NOT: properties-class-extensions.m:31:40: ObjCPropertyDecl=Rdar8467189_Bar:31:40 Extent=[3… 85 // CHECK: properties-class-extensions.m:31:40: ObjCPropertyDecl=Rdar8467189_Bar:31:40 [readwrite,] … 93 // CHECK: properties-class-extensions.m:38:34: ObjCPropertyDecl=qux:38:34 [assign,readwrite,] Exten…
|
D | get-cursor.m | 117 // CHECK-PROP: ObjCPropertyDecl=foo1:4:26 118 // CHECK-PROP: ObjCPropertyDecl=foo2:5:27 168 // CHECK-OBJCOPTIONAL: 104:23 ObjCPropertyDecl=propProp1:104:23 [retain,] Extent=[104:1 - 104:32] 170 // CHECK-OBJCOPTIONAL: 108:23 ObjCPropertyDecl=propProp2:108:23 (@optional) [retain,] Extent=[108:1… 172 // CHECK-OBJCOPTIONAL: 112:23 ObjCPropertyDecl=propProp3:112:23 [retain,] Extent=[112:1 - 112:32]
|
D | annotate-comments-objc.m | 112 // CHECK: annotate-comments-objc.m:23:50: ObjCPropertyDecl=property1_isdoxy1:{{.*}} property1_isdox… 113 // CHECK: annotate-comments-objc.m:24:50: ObjCPropertyDecl=property1_isdoxy2:{{.*}} property1_isdox… 114 // CHECK: annotate-comments-objc.m:25:50: ObjCPropertyDecl=property1_isdoxy3:{{.*}} property1_isdox… 115 // CHECK: annotate-comments-objc.m:26:50: ObjCPropertyDecl=property1_isdoxy4:{{.*}} property1_isdox…
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 40 ObjCPropertyDecl::PropertyAttributeKind attrs, in getImpliedARCOwnership() 44 if (attrs & (ObjCPropertyDecl::OBJC_PR_retain | in getImpliedARCOwnership() 45 ObjCPropertyDecl::OBJC_PR_strong | in getImpliedARCOwnership() 46 ObjCPropertyDecl::OBJC_PR_copy)) { in getImpliedARCOwnership() 48 } else if (attrs & ObjCPropertyDecl::OBJC_PR_weak) { in getImpliedARCOwnership() 50 } else if (attrs & ObjCPropertyDecl::OBJC_PR_unsafe_unretained) { in getImpliedARCOwnership() 56 if (attrs & ObjCPropertyDecl::OBJC_PR_assign && in getImpliedARCOwnership() 65 static void checkARCPropertyDecl(Sema &S, ObjCPropertyDecl *property) { in checkARCPropertyDecl() 68 ObjCPropertyDecl::PropertyAttributeKind propertyKind in checkARCPropertyDecl() 83 ObjCPropertyDecl::PropertyAttributeKind attr; in checkARCPropertyDecl() [all …]
|
D | ScopeInfo.cpp | 131 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() 150 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() 197 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
|
D | DelayedDiagnostic.cpp | 27 const ObjCPropertyDecl *ObjCProperty, in makeAvailability()
|
/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 32 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties; 58 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in VisitObjCMessageExpr() 61 ObjCPropertyDecl *PropDecl = P->first; in VisitObjCMessageExpr() 119 ObjCPropertyDecl *PD = PID->getPropertyDecl(); in TraverseObjCMethodDecl() 122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = in TraverseObjCMethodDecl() 125 (ObjCPropertyDecl::OBJC_PR_retain | in TraverseObjCMethodDecl() 126 ObjCPropertyDecl::OBJC_PR_copy | in TraverseObjCMethodDecl() 127 ObjCPropertyDecl::OBJC_PR_strong)) in TraverseObjCMethodDecl() 175 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in isZeroingPropIvar() 206 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar()
|
D | TransGCAttrs.cpp | 30 std::vector<ObjCPropertyDecl *> &AllProps; 35 std::vector<ObjCPropertyDecl *> &AllProps) in GCAttrsCollector() 52 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) { in TraverseDecl() 222 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy; 237 SmallVector<std::pair<AttributedTypeLoc, ObjCPropertyDecl *>, 4> ATLs; in checkAllAtProps() 239 ObjCPropertyDecl::PropertyAttributeKind in checkAllAtProps() 240 Attrs = ObjCPropertyDecl::OBJC_PR_noattr; in checkAllAtProps() 243 ObjCPropertyDecl *PD = *PI; in checkAllAtProps() 282 if (Attrs & ObjCPropertyDecl::OBJC_PR_assign) in checkAllAtProps() 302 std::vector<ObjCPropertyDecl *> &AllProps) { in checkAllProps() [all …]
|
D | TransProperties.cpp | 60 ObjCPropertyDecl *PropD; 64 PropData(ObjCPropertyDecl *propD) in PropData() 107 ObjCPropertyDecl *propD = implD->getPropertyDecl(); in doTransform() 190 ObjCPropertyDecl::PropertyAttributeKind propAttrs = getPropertyAttrs(props); in rewriteProperty() 192 if (propAttrs & (ObjCPropertyDecl::OBJC_PR_copy | in rewriteProperty() 193 ObjCPropertyDecl::OBJC_PR_unsafe_unretained | in rewriteProperty() 194 ObjCPropertyDecl::OBJC_PR_strong | in rewriteProperty() 195 ObjCPropertyDecl::OBJC_PR_weak)) in rewriteProperty() 198 if (propAttrs & ObjCPropertyDecl::OBJC_PR_retain) { in rewriteProperty() 205 if (propAttrs & ObjCPropertyDecl::OBJC_PR_assign) { in rewriteProperty() [all …]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 102 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod() 127 if (P->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readwrite) in HasUserDeclaredSetterMethod() 153 ObjCPropertyDecl * 154 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, in findPropertyDecl() 167 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(*I)) in findPropertyDecl() 174 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { in getDefaultSynthIvarName() 185 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration() 194 if (ObjCPropertyDecl *PD = in FindPropertyDeclaration() 195 ObjCPropertyDecl::findPropertyDecl(cast<DeclContext>(this), PropertyId)) in FindPropertyDeclaration() 204 if (ObjCPropertyDecl *P = I->FindPropertyDeclaration(PropertyId)) in FindPropertyDeclaration() [all …]
|
D | DeclPrinter.cpp | 79 void VisitObjCPropertyDecl(ObjCPropertyDecl *D); 1098 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { in VisitObjCPropertyDecl() 1099 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required) in VisitObjCPropertyDecl() 1101 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional) in VisitObjCPropertyDecl() 1105 if (PDecl->getPropertyAttributes() != ObjCPropertyDecl::OBJC_PR_noattr) { in VisitObjCPropertyDecl() 1109 ObjCPropertyDecl::OBJC_PR_readonly) { in VisitObjCPropertyDecl() 1114 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_getter) { in VisitObjCPropertyDecl() 1119 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_setter) { in VisitObjCPropertyDecl() 1125 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_assign) { in VisitObjCPropertyDecl() 1131 ObjCPropertyDecl::OBJC_PR_readwrite) { in VisitObjCPropertyDecl() [all …]
|
D | ASTDumper.cpp | 472 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D); 1501 void ASTDumper::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 1505 if (D->getPropertyImplementation() == ObjCPropertyDecl::Required) in VisitObjCPropertyDecl() 1507 else if (D->getPropertyImplementation() == ObjCPropertyDecl::Optional) in VisitObjCPropertyDecl() 1510 ObjCPropertyDecl::PropertyAttributeKind Attrs = D->getPropertyAttributes(); in VisitObjCPropertyDecl() 1511 if (Attrs != ObjCPropertyDecl::OBJC_PR_noattr) { in VisitObjCPropertyDecl() 1512 if (Attrs & ObjCPropertyDecl::OBJC_PR_readonly) in VisitObjCPropertyDecl() 1514 if (Attrs & ObjCPropertyDecl::OBJC_PR_assign) in VisitObjCPropertyDecl() 1516 if (Attrs & ObjCPropertyDecl::OBJC_PR_readwrite) in VisitObjCPropertyDecl() 1518 if (Attrs & ObjCPropertyDecl::OBJC_PR_retain) in VisitObjCPropertyDecl() [all …]
|
/external/clang/include/clang/AST/ |
D | ASTMutationListener.h | 31 class ObjCPropertyDecl; variable 102 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, in AddedObjCPropertyInClassExtension() 103 const ObjCPropertyDecl *OrigProp, in AddedObjCPropertyInClassExtension()
|
D | DeclObjC.h | 31 class ObjCPropertyDecl; variable 453 const ObjCPropertyDecl *findPropertyDecl(bool CheckOverrides = true) const; 524 typedef specific_decl_iterator<ObjCPropertyDecl> prop_iterator; 525 typedef llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>> 591 bool HasUserDeclaredSetterMethod(const ObjCPropertyDecl *P) const; 594 ObjCPropertyDecl * 597 typedef llvm::DenseMap<IdentifierInfo*, ObjCPropertyDecl*> PropertyMap; 599 typedef llvm::DenseMap<const ObjCProtocolDecl *, ObjCPropertyDecl*> 602 typedef llvm::SmallVector<ObjCPropertyDecl*, 8> PropertyDeclOrder; 1249 ObjCPropertyDecl [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 62 typedef llvm::DenseMap<const ObjCPropertyDecl*, 65 const ObjCPropertyDecl*> IvarToPropMapTy; 196 const ObjCPropertyDecl *Prop, 305 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() 353 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); in printIvar() 392 const ObjCPropertyDecl *PD = I->second; in visit() 400 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit() 623 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); in checkObjCPropertyRefExpr() 625 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr()
|
D | CheckObjCDealloc.cpp | 32 const ObjCPropertyDecl *PD, in scan_ivar_release() 68 return PD->getSetterKind() != ObjCPropertyDecl::Assign; in scan_ivar_release() 185 const ObjCPropertyDecl *PD = I->getPropertyDecl(); in checkObjCDealloc() 194 bool requiresRelease = PD->getSetterKind() != ObjCPropertyDecl::Assign; in checkObjCDealloc()
|
D | DirectIvarAssignment.cpp | 57 const ObjCPropertyDecl*> IvarToPropertyMapTy; 96 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar() 180 const ObjCPropertyDecl *PD = I->second; in VisitBinaryOperator()
|
/external/clang/include/clang/Sema/ |
D | DelayedDiagnostic.h | 129 const ObjCPropertyDecl *ObjCProperty, 203 const ObjCPropertyDecl *getObjCProperty() const { in getObjCProperty() 216 const ObjCPropertyDecl *ObjCProperty;
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 108 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, 109 const ObjCPropertyDecl *OrigProp, 183 const ObjCPropertyDecl *Prop, in AddedObjCPropertyInClassExtension() 184 const ObjCPropertyDecl *OrigProp, in AddedObjCPropertyInClassExtension()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.h | 28 class ObjCPropertyDecl; variable
|
/external/clang/test/Misc/ |
D | ast-dump-decl.m | 102 // CHECK: ObjCPropertyDecl{{.*}} foo 'int' assign readwrite atomic unsafe_unretained 105 // CHECK-NEXT: ObjCPropertyDecl{{.*}} bar 'int' assign readwrite atomic unsafe_unretained
|