/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 65 class ObjCPropertyDecl; 1410 void getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD, 1418 const ObjCPropertyDecl *PD,
|
H A D | ASTMutationListener.h | 29 class ObjCPropertyDecl; 96 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, 97 const ObjCPropertyDecl *OrigProp,
|
H A D | DataRecursiveASTVisitor.h | 1330 DEF_TRAVERSE_DECL(ObjCPropertyDecl, {
|
H A D | DeclObjC.h | 31 class ObjCPropertyDecl; 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 *FindPropertyDeclaration(IdentifierInfo *PropertyId) const; 596 typedef llvm::DenseMap<IdentifierInfo*, ObjCPropertyDecl*> PropertyMap; 598 typedef llvm::DenseMap<const ObjCProtocolDecl *, ObjCPropertyDecl*> 601 typedef llvm::SmallVector<ObjCPropertyDecl*, 8> PropertyDeclOrder; 1244 ObjCPropertyDecl 2174 class ObjCPropertyDecl : public NamedDecl { class in namespace:clang 2217 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id, function in class:clang::ObjCPropertyDecl [all...] |
H A D | ExprObjC.h | 530 /// the pointer is an ObjCPropertyDecl and Setter is always null. 559 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, 571 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, 619 ObjCPropertyDecl *getExplicitProperty() const { 621 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); 684 const ObjCPropertyDecl *PDecl = getExplicitProperty(); 704 if (ObjCPropertyDecl *PDecl = getExplicitProperty()) 743 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) {
|
H A D | RecursiveASTVisitor.h | 1402 DEF_TRAVERSE_DECL(ObjCPropertyDecl, {
|
/external/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 129 const ObjCPropertyDecl *ObjCProperty, 203 const ObjCPropertyDecl *getObjCProperty() const { 216 const ObjCPropertyDecl *ObjCProperty;
|
H A D | ScopeInfo.h | 34 class ObjCPropertyDecl; 159 /// self.property | self (VarDecl) | property (ObjCPropertyDecl) 161 /// self->ivar.prop | ivar (ObjCIvarDecl) | prop (ObjCPropertyDecl) 162 /// cxxObj.obj.prop | obj (FieldDecl) | prop (ObjCPropertyDecl) 163 /// [self foo].prop | 0 (unknown) | prop (ObjCPropertyDecl) 164 /// self.prop1.prop2 | prop1 (ObjCPropertyDecl) | prop2 (ObjCPropertyDecl) 183 /// Note that this may not actually be an ObjCPropertyDecl, e.g. in the 197 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property); 295 const ObjCPropertyDecl *Pro [all...] |
H A D | Sema.h | 144 class ObjCPropertyDecl; 2780 const ObjCPropertyDecl *&PDecl) const; 2784 ObjCPropertyDecl *HandlePropertyInClassExtension(Scope *S, 2800 ObjCPropertyDecl *CreatePropertyDecl(Scope *S, 3224 const ObjCPropertyDecl *ObjCProperty, 3241 bool DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *PD, 6845 void ProcessPropertyDecl(ObjCPropertyDecl *property, 6847 ObjCPropertyDecl *redeclaredProperty = nullptr, 6851 void DiagnosePropertyMismatch(ObjCPropertyDecl *Property, 6852 ObjCPropertyDecl *SuperPropert [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 774 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, 775 const ObjCPropertyDecl *OrigProp,
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 61 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P); 507 if (Property->getPropertyImplementation() == ObjCPropertyDecl::Optional) 519 else if (ObjCPropertyDecl *ClassProperty = dyn_cast<ObjCPropertyDecl>(R[0])) { 1146 ObjCPropertyDecl *P) {
|
H A D | TransGCAttrs.cpp | 30 std::vector<ObjCPropertyDecl *> &AllProps; 35 std::vector<ObjCPropertyDecl *> &AllProps) 52 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) { 222 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy; 237 SmallVector<std::pair<AttributedTypeLoc, ObjCPropertyDecl *>, 4> ATLs; 239 ObjCPropertyDecl::PropertyAttributeKind 240 Attrs = ObjCPropertyDecl::OBJC_PR_noattr; 243 ObjCPropertyDecl *PD = *PI; 282 if (Attrs & ObjCPropertyDecl [all...] |
H A D | TransProperties.cpp | 60 ObjCPropertyDecl *PropD; 64 PropData(ObjCPropertyDecl *propD) 107 ObjCPropertyDecl *propD = implD->getPropertyDecl(); 190 ObjCPropertyDecl::PropertyAttributeKind propAttrs = getPropertyAttrs(props); 192 if (propAttrs & (ObjCPropertyDecl::OBJC_PR_copy | 193 ObjCPropertyDecl::OBJC_PR_unsafe_unretained | 194 ObjCPropertyDecl::OBJC_PR_strong | 195 ObjCPropertyDecl::OBJC_PR_weak)) 198 if (propAttrs & ObjCPropertyDecl::OBJC_PR_retain) { 205 if (propAttrs & ObjCPropertyDecl [all...] |
H A D | 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 *PDec [all...] |
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 142 isa<ObjCPropertyDecl>(D) || 208 isa<ObjCMethodDecl>(D) || isa<ObjCPropertyDecl>(D))) { 467 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 4961 const ObjCPropertyDecl *PD, 5004 void ASTContext::getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD, 5029 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_copy) 5031 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_retain) 5033 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) 5037 case ObjCPropertyDecl::Assign: break; 5038 case ObjCPropertyDecl [all...] |
H A D | ASTDumper.cpp | 297 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D); 1408 void ASTDumper::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { 1412 if (D->getPropertyImplementation() == ObjCPropertyDecl::Required) 1414 else if (D->getPropertyImplementation() == ObjCPropertyDecl::Optional) 1417 ObjCPropertyDecl::PropertyAttributeKind Attrs = D->getPropertyAttributes(); 1418 if (Attrs != ObjCPropertyDecl::OBJC_PR_noattr) { 1419 if (Attrs & ObjCPropertyDecl::OBJC_PR_readonly) 1421 if (Attrs & ObjCPropertyDecl::OBJC_PR_assign) 1423 if (Attrs & ObjCPropertyDecl::OBJC_PR_readwrite) 1425 if (Attrs & ObjCPropertyDecl [all...] |
H A D | ASTImporter.cpp | 157 Decl *VisitObjCPropertyDecl(ObjCPropertyDecl *D); 3732 Decl *ASTNodeImporter::VisitObjCPropertyDecl(ObjCPropertyDecl *D) { 3744 if (ObjCPropertyDecl *FoundProp 3745 = dyn_cast<ObjCPropertyDecl>(FoundDecls[I])) { 3770 ObjCPropertyDecl *ToProperty 3771 = ObjCPropertyDecl::Create(Importer.getToContext(), DC, Loc, 3796 ObjCPropertyDecl *Property = cast_or_null<ObjCPropertyDecl>(
|
H A D | DeclObjC.cpp | 102 ObjCContainerDecl::HasUserDeclaredSetterMethod(const ObjCPropertyDecl *Property) const { 126 if (P->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readwrite) 152 ObjCPropertyDecl * 153 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, 166 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(*I)) 173 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { 184 ObjCPropertyDecl * 193 if (ObjCPropertyDecl *PD = 194 ObjCPropertyDecl [all...] |
H A D | DeclPrinter.cpp | 79 void VisitObjCPropertyDecl(ObjCPropertyDecl *D); 1075 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { 1076 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required) 1078 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional) 1082 if (PDecl->getPropertyAttributes() != ObjCPropertyDecl::OBJC_PR_noattr) { 1086 ObjCPropertyDecl::OBJC_PR_readonly) { 1091 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_getter) { 1096 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_setter) { 1102 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_assign) { 1108 ObjCPropertyDecl [all...] |
/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 390 const ObjCPropertyDecl *Prop) { 397 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) 460 const ObjCPropertyDecl *Prop = D->findPropertyDecl();
|
H A D | BodyFarm.h | 28 class ObjCPropertyDecl;
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 1607 static bool hasDefaultGetterName(const ObjCPropertyDecl *PD, 1619 static bool hasDefaultSetterName(const ObjCPropertyDecl *PD, 1773 if (ObjCPropertyDecl *PD = PImpD->getPropertyDecl()) {
|
H A D | CGObjC.cpp | 617 const ObjCPropertyDecl *prop = propImpl->getPropertyDecl(); 618 ObjCPropertyDecl::SetterKind setterKind = prop->getSetterKind(); 620 IsCopy = (setterKind == ObjCPropertyDecl::Copy); 638 if (setterKind == ObjCPropertyDecl::Retain) { 749 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); 834 const ObjCPropertyDecl *prop = propImpl->getPropertyDecl(); 1096 const ObjCPropertyDecl *prop = propImpl->getPropertyDecl(); 1278 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); 2877 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); 2878 if ((!(PD->getPropertyAttributes() & ObjCPropertyDecl [all...] |
H A D | CGObjCGNU.cpp | 227 llvm::Constant *MakePropertyEncodingString(const ObjCPropertyDecl *PD, 247 ObjCPropertyDecl *property, bool isSynthesized=true, bool 251 if (attrs & ObjCPropertyDecl::OBJC_PR_readonly) { 252 attrs &= ~ObjCPropertyDecl::OBJC_PR_copy; 253 attrs &= ~ObjCPropertyDecl::OBJC_PR_retain; 254 attrs &= ~ObjCPropertyDecl::OBJC_PR_weak; 255 attrs &= ~ObjCPropertyDecl::OBJC_PR_strong; 1854 if (property->getPropertyImplementation() == ObjCPropertyDecl::Optional) { 2067 ObjCPropertyDecl *property = propertyImpl->getPropertyDecl();
|
H A D | CGObjCMac.cpp | 931 llvm::Constant *GetPropertyTypeString(const ObjCPropertyDecl *PD, 3065 ObjCPropertyDecl *PD = PID->getPropertyDecl(); 4933 CGObjCCommonMac::GetPropertyTypeString(const ObjCPropertyDecl *PD, 5659 ObjCPropertyDecl *PD = PID->getPropertyDecl();
|