Searched refs:ObjCPropertyDecl (Results 1 - 25 of 59) sorted by path

123

/external/clang/include/clang/AST/
H A DASTContext.h65 class ObjCPropertyDecl;
1410 void getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD,
1418 const ObjCPropertyDecl *PD,
H A DASTMutationListener.h29 class ObjCPropertyDecl;
96 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
97 const ObjCPropertyDecl *OrigProp,
H A DDataRecursiveASTVisitor.h1330 DEF_TRAVERSE_DECL(ObjCPropertyDecl, {
H A DDeclObjC.h31 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 DExprObjC.h530 /// 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 DRecursiveASTVisitor.h1402 DEF_TRAVERSE_DECL(ObjCPropertyDecl, {
/external/clang/include/clang/Sema/
H A DDelayedDiagnostic.h129 const ObjCPropertyDecl *ObjCProperty,
203 const ObjCPropertyDecl *getObjCProperty() const {
216 const ObjCPropertyDecl *ObjCProperty;
H A DScopeInfo.h34 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 DSema.h144 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 DASTWriter.h774 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
775 const ObjCPropertyDecl *OrigProp,
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp61 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 DTransGCAttrs.cpp30 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 DTransProperties.cpp60 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 DTransZeroOutPropsInDealloc.cpp32 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 DASTContext.cpp142 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 DASTDumper.cpp297 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 DASTImporter.cpp157 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 DDeclObjC.cpp102 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 DDeclPrinter.cpp79 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 DBodyFarm.cpp390 const ObjCPropertyDecl *Prop) {
397 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak)
460 const ObjCPropertyDecl *Prop = D->findPropertyDecl();
H A DBodyFarm.h28 class ObjCPropertyDecl;
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1607 static bool hasDefaultGetterName(const ObjCPropertyDecl *PD,
1619 static bool hasDefaultSetterName(const ObjCPropertyDecl *PD,
1773 if (ObjCPropertyDecl *PD = PImpD->getPropertyDecl()) {
H A DCGObjC.cpp617 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 DCGObjCGNU.cpp227 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 DCGObjCMac.cpp931 llvm::Constant *GetPropertyTypeString(const ObjCPropertyDecl *PD,
3065 ObjCPropertyDecl *PD = PID->getPropertyDecl();
4933 CGObjCCommonMac::GetPropertyTypeString(const ObjCPropertyDecl *PD,
5659 ObjCPropertyDecl *PD = PID->getPropertyDecl();

Completed in 499 milliseconds

123