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

123

/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp39 ObjCPropertyDecl::PropertyAttributeKind attrs,
43 if (attrs & (ObjCPropertyDecl::OBJC_PR_retain |
44 ObjCPropertyDecl::OBJC_PR_strong |
45 ObjCPropertyDecl::OBJC_PR_copy)) {
47 } else if (attrs & ObjCPropertyDecl::OBJC_PR_weak) {
49 } else if (attrs & ObjCPropertyDecl::OBJC_PR_unsafe_unretained) {
55 if (attrs & ObjCPropertyDecl::OBJC_PR_assign &&
64 static void checkARCPropertyDecl(Sema &S, ObjCPropertyDecl *property) {
67 ObjCPropertyDecl::PropertyAttributeKind propertyKind
82 ObjCPropertyDecl
[all...]
H A DDelayedDiagnostic.cpp27 const ObjCPropertyDecl *ObjCProperty,
H A DScopeInfo.cpp112 const ObjCPropertyDecl *Prop)
131 const ObjCPropertyDecl *Prop) {
176 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) {
/external/clang/include/clang/AST/
H A DASTMutationListener.h29 class ObjCPropertyDecl;
96 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
97 const ObjCPropertyDecl *OrigProp,
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) {
/external/clang/lib/ARCMigrate/
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...]
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...]
/external/clang/lib/Analysis/
H A DBodyFarm.h28 class ObjCPropertyDecl;
H A DBodyFarm.cpp390 const ObjCPropertyDecl *Prop) {
397 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak)
460 const ObjCPropertyDecl *Prop = D->findPropertyDecl();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp57 const ObjCPropertyDecl*> IvarToPropertyMapTy;
96 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD,
180 const ObjCPropertyDecl *PD = I->second;
H A DCheckObjCDealloc.cpp53 const ObjCPropertyDecl *PD,
89 return PD->getSetterKind() != ObjCPropertyDecl::Assign;
224 const ObjCPropertyDecl *PD = I->getPropertyDecl();
233 bool requiresRelease = PD->getSetterKind() != ObjCPropertyDecl::Assign;
H A DIvarInvalidationChecker.cpp62 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/
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/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...]
/external/clang/lib/Frontend/
H A DMultiplexConsumer.cpp106 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
107 const ObjCPropertyDecl *OrigProp,
173 const ObjCPropertyDecl *Prop,
174 const ObjCPropertyDecl *OrigProp,
H A DASTConsumers.cpp441 ObjCPropertyDecl* OPD = cast<ObjCPropertyDecl>(I);
/external/clang/tools/libclang/
H A DIndexDecl.cpp209 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) {
222 ObjCPropertyDecl *PD = D->getPropertyDecl();
H A DIndexingContext.h20 class ObjCPropertyDecl;
423 bool handleObjCProperty(const ObjCPropertyDecl *D);
H A DCXType.cpp169 if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D))
857 } else if (const ObjCPropertyDecl *OPD = dyn_cast<ObjCPropertyDecl>(D))
H A DCursorVisitor.h224 bool VisitObjCPropertyDecl(ObjCPropertyDecl *PD);
/external/clang/lib/Index/
H A DUSRGeneration.cpp85 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D);
382 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) {
393 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) {

Completed in 519 milliseconds

123