/external/clang/lib/Sema/ |
SemaObjCProperty.cpp | 40 ObjCPropertyDecl::PropertyAttributeKind attrs, 44 if (attrs & (ObjCPropertyDecl::OBJC_PR_retain | 45 ObjCPropertyDecl::OBJC_PR_strong | 46 ObjCPropertyDecl::OBJC_PR_copy)) { 48 } else if (attrs & ObjCPropertyDecl::OBJC_PR_weak) { 50 } else if (attrs & ObjCPropertyDecl::OBJC_PR_unsafe_unretained) { 56 if (attrs & ObjCPropertyDecl::OBJC_PR_assign && 67 ObjCPropertyDecl *property) { 70 ObjCPropertyDecl::PropertyAttributeKind propertyKind 84 ObjCPropertyDecl::PropertyAttributeKind attr [all...] |
DelayedDiagnostic.cpp | 27 const ObjCPropertyDecl *ObjCProperty,
|
ScopeInfo.cpp | 134 const ObjCPropertyDecl *Prop) 153 const ObjCPropertyDecl *Prop) { 200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) {
|
SemaPseudoObject.cpp | 579 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); 580 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) 616 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); 645 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); 661 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(AltMember)) 685 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.h | 28 class ObjCPropertyDecl;
|
BodyFarm.cpp | 387 const ObjCPropertyDecl *Prop) { 394 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) 457 const ObjCPropertyDecl *Prop = D->findPropertyDecl();
|
/external/clang/lib/ARCMigrate/ |
TransZeroOutPropsInDealloc.cpp | 32 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties; 58 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator 61 ObjCPropertyDecl *PropDecl = P->first; 119 ObjCPropertyDecl *PD = PID->getPropertyDecl(); 122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = 125 (ObjCPropertyDecl::OBJC_PR_retain | 126 ObjCPropertyDecl::OBJC_PR_copy | 127 ObjCPropertyDecl::OBJC_PR_strong)) 175 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator 206 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) [all...] |
TransGCAttrs.cpp | 30 std::vector<ObjCPropertyDecl *> &AllProps; 35 std::vector<ObjCPropertyDecl *> &AllProps) 52 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) { 220 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy; 235 SmallVector<std::pair<AttributedTypeLoc, ObjCPropertyDecl *>, 4> ATLs; 237 ObjCPropertyDecl::PropertyAttributeKind 238 Attrs = ObjCPropertyDecl::OBJC_PR_noattr; 241 ObjCPropertyDecl *PD = *PI; 280 if (Attrs & ObjCPropertyDecl::OBJC_PR_assign [all...] |
TransProperties.cpp | 60 ObjCPropertyDecl *PropD; 64 PropData(ObjCPropertyDecl *propD) 111 ObjCPropertyDecl *propD = implD->getPropertyDecl(); 172 ObjCPropertyDecl::PropertyAttributeKind propAttrs = getPropertyAttrs(props); 174 if (propAttrs & (ObjCPropertyDecl::OBJC_PR_copy | 175 ObjCPropertyDecl::OBJC_PR_unsafe_unretained | 176 ObjCPropertyDecl::OBJC_PR_strong | 177 ObjCPropertyDecl::OBJC_PR_weak)) 180 if (propAttrs & ObjCPropertyDecl::OBJC_PR_retain) { 187 if (propAttrs & ObjCPropertyDecl::OBJC_PR_assign) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DirectIvarAssignment.cpp | 57 const ObjCPropertyDecl*> IvarToPropertyMapTy; 96 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, 180 const ObjCPropertyDecl *PD = I->second;
|
CheckObjCDealloc.cpp | 32 const ObjCPropertyDecl *PD, 68 return PD->getSetterKind() != ObjCPropertyDecl::Assign; 185 const ObjCPropertyDecl *PD = I->getPropertyDecl(); 194 bool requiresRelease = PD->getSetterKind() != ObjCPropertyDecl::Assign;
|
IvarInvalidationChecker.cpp | 62 typedef llvm::DenseMap<const ObjCPropertyDecl*, 65 const ObjCPropertyDecl*> IvarToPropMapTy; 196 const ObjCPropertyDecl *Prop, 305 const ObjCPropertyDecl *Prop, 353 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); 392 const ObjCPropertyDecl *PD = I->second; 400 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); 623 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); 625 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
|
/external/clang/lib/AST/ |
DeclObjC.cpp | 102 const ObjCPropertyDecl *Property) const { 127 if (P->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readwrite) 153 ObjCPropertyDecl * 154 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, 168 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, 176 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(*I)) 183 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { 194 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration [all...] |
DeclPrinter.cpp | 88 void VisitObjCPropertyDecl(ObjCPropertyDecl *D); [all...] |
/external/clang/include/clang/AST/ |
ASTMutationListener.h | 31 class ObjCPropertyDecl;
|
DeclObjC.h | 31 class ObjCPropertyDecl; 462 const ObjCPropertyDecl *findPropertyDecl(bool CheckOverrides = true) const; 710 typedef specific_decl_iterator<ObjCPropertyDecl> prop_iterator; 711 typedef llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>> 777 bool HasUserDeclaredSetterMethod(const ObjCPropertyDecl *P) const; 780 ObjCPropertyDecl * 783 typedef llvm::DenseMap<IdentifierInfo*, ObjCPropertyDecl*> PropertyMap; 785 typedef llvm::DenseMap<const ObjCProtocolDecl *, ObjCPropertyDecl*> 788 typedef llvm::SmallVector<ObjCPropertyDecl*, 8> PropertyDeclOrder; [all...] |
ExprObjC.h | 549 /// the pointer is an ObjCPropertyDecl and Setter is always null. 578 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, 590 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, 638 ObjCPropertyDecl *getExplicitProperty() const { 640 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); 732 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) { [all...] |
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 129 const ObjCPropertyDecl *ObjCProperty, 203 const ObjCPropertyDecl *getObjCProperty() const { 216 const ObjCPropertyDecl *ObjCProperty;
|
ScopeInfo.h | 35 class ObjCPropertyDecl; 179 /// self.property | self (VarDecl) | property (ObjCPropertyDecl) 181 /// self->ivar.prop | ivar (ObjCIvarDecl) | prop (ObjCPropertyDecl) 182 /// cxxObj.obj.prop | obj (FieldDecl) | prop (ObjCPropertyDecl) 183 /// [self foo].prop | 0 (unknown) | prop (ObjCPropertyDecl) 184 /// self.prop1.prop2 | prop1 (ObjCPropertyDecl) | prop2 (ObjCPropertyDecl) 203 /// Note that this may not actually be an ObjCPropertyDecl, e.g. in the 215 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property); 316 const ObjCPropertyDecl *Prop) [all...] |
/external/clang/tools/libclang/ |
IndexDecl.cpp | 209 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { 222 ObjCPropertyDecl *PD = D->getPropertyDecl();
|
IndexingContext.h | 23 class ObjCPropertyDecl; 426 bool handleObjCProperty(const ObjCPropertyDecl *D);
|
CXType.cpp | 172 if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D)) 893 } else if (const ObjCPropertyDecl *OPD = dyn_cast<ObjCPropertyDecl>(D))
|
CursorVisitor.h | 226 bool VisitObjCPropertyDecl(ObjCPropertyDecl *PD);
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 450 ObjCPropertyDecl* OPD = cast<ObjCPropertyDecl>(I);
|
/external/clang/lib/CodeGen/ |
CGObjC.cpp | 669 const ObjCPropertyDecl *prop = propImpl->getPropertyDecl(); 670 ObjCPropertyDecl::SetterKind setterKind = prop->getSetterKind(); 672 IsCopy = (setterKind == ObjCPropertyDecl::Copy); 690 if (setterKind == ObjCPropertyDecl::Retain) { 801 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); [all...] |