Home
last modified time | relevance | path

Searched refs:ObjCPropertyDecl (Results 1 – 25 of 66) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DObjCPropertyChecker.cpp26 : public Checker<check::ASTDecl<ObjCPropertyDecl>> {
27 void checkCopyMutable(const ObjCPropertyDecl *D, BugReporter &BR) const;
30 void checkASTDecl(const ObjCPropertyDecl *D, AnalysisManager &Mgr,
35 void ObjCPropertyChecker::checkASTDecl(const ObjCPropertyDecl *D, in checkASTDecl()
41 void ObjCPropertyChecker::checkCopyMutable(const ObjCPropertyDecl *D, in checkCopyMutable()
43 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy) in checkCopyMutable()
H A DCheckObjCDealloc.cpp70 const ObjCPropertyDecl **PD) { in isSynthesizedRetainableProperty()
163 const ObjCPropertyDecl *
563 const ObjCPropertyDecl *PropDecl = PropImpl->getPropertyDecl(); in diagnoseMissingReleases()
565 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Copy || in diagnoseMissingReleases()
566 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases()
571 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
662 const ObjCPropertyDecl *PropDecl = findShadowedPropertyDecl(PropImpl); in diagnoseExtraRelease()
677 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Weak || in diagnoseExtraRelease()
678 (PropDecl->getSetterKind() == ObjCPropertyDecl::Assign && in diagnoseExtraRelease()
693 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Weak) in diagnoseExtraRelease()
[all …]
H A DIvarInvalidationChecker.cpp59 typedef llvm::DenseMap<const ObjCPropertyDecl*,
62 const ObjCPropertyDecl*> IvarToPropMapTy;
192 const ObjCPropertyDecl *Prop,
300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar()
348 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); in printIvar()
387 const ObjCPropertyDecl *PD = I->second; in visit()
397 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit()
619 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); in checkObjCPropertyRefExpr()
621 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr()
H A DDirectIvarAssignment.cpp55 const ObjCPropertyDecl*> IvarToPropertyMapTy;
94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
180 const ObjCPropertyDecl *PD = I->second; in VisitBinaryOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp29 std::vector<ObjCPropertyDecl *> &AllProps;
34 std::vector<ObjCPropertyDecl *> &AllProps) in GCAttrsCollector()
51 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) { in TraverseDecl()
217 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy;
232 SmallVector<std::pair<AttributedTypeLoc, ObjCPropertyDecl *>, 4> ATLs; in checkAllAtProps()
237 ObjCPropertyDecl *PD = *PI; in checkAllAtProps()
297 std::vector<ObjCPropertyDecl *> &AllProps) { in checkAllProps()
298 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy; in checkAllProps()
302 ObjCPropertyDecl *PD = AllProps[i]; in checkAllProps()
321 std::vector<ObjCPropertyDecl *> AllProps; in traverseTU()
H A DTransZeroOutPropsInDealloc.cpp31 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties;
57 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in VisitObjCMessageExpr()
60 ObjCPropertyDecl *PropDecl = P->first; in VisitObjCMessageExpr()
118 ObjCPropertyDecl *PD = PID->getPropertyDecl(); in TraverseObjCMethodDecl()
172 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in isZeroingPropIvar()
203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar()
H A DTransProperties.cpp59 ObjCPropertyDecl *PropD;
63 PropData(ObjCPropertyDecl *propD) in PropData()
110 ObjCPropertyDecl *propD = implD->getPropertyDecl(); in doTransform()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp65 ObjCPropertyDecl *property) { in checkPropertyDeclWithOwnership()
107 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol()
115 if (ObjCPropertyDecl *ProtoProp = in CheckPropertyAgainstProtocol()
116 Proto->lookup(Prop->getDeclName()).find_first<ObjCPropertyDecl>()) { in CheckPropertyAgainstProtocol()
194 ObjCPropertyDecl *Res = nullptr; in ActOnProperty()
234 if (ObjCPropertyDecl *SuperProp = in ActOnProperty()
235 Super->lookup(Res->getDeclName()).find_first<ObjCPropertyDecl>()) { in ActOnProperty()
337 ObjCPropertyDecl *OldProperty, in checkAtomicPropertyMismatch()
338 ObjCPropertyDecl *NewProperty, in checkAtomicPropertyMismatch()
349 auto isImplicitlyReadonlyAtomic = [](ObjCPropertyDecl *Property) -> bool { in checkAtomicPropertyMismatch()
[all …]
H A DScopeInfo.cpp132 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy()
151 const ObjCPropertyDecl *Prop) { in recordUseOfWeak()
198 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
H A DSemaAvailability.cpp282 if (isa<ObjCPropertyDecl>(D)) in createAttributeInsertion()
316 const ObjCPropertyDecl *ObjCProperty, in DoEmitAvailabilityWarning()
560 const ObjCPropertyDecl *ObjCProperty, in EmitAvailabilityWarning()
953 const ObjCPropertyDecl *ObjCPDecl = nullptr; in DiagnoseAvailabilityOfDecl()
955 if (const ObjCPropertyDecl *PD = MD->findPropertyDecl()) { in DiagnoseAvailabilityOfDecl()
H A DDelayedDiagnostic.cpp29 const ObjCPropertyDecl *ObjCProperty, in makeAvailability()
H A DSemaPseudoObject.cpp584 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty()
621 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findGetter()
650 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findSetter()
666 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter()
691 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { in DiagnoseUnsupportedPropertyUse()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp125 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod()
177 ObjCPropertyDecl *
178 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, in findPropertyDecl()
193 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, in findPropertyDecl()
200 ObjCPropertyDecl *classProp = nullptr; in findPropertyDecl()
203 if (auto *PD = dyn_cast<ObjCPropertyDecl>(*I)) { in findPropertyDecl()
226 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { in getDefaultSynthIvarName()
237 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
256 if (ObjCPropertyDecl *PD = in FindPropertyDeclaration()
257 ObjCPropertyDecl::findPropertyDecl(cast<DeclContext>(this), PropertyId, in FindPropertyDeclaration()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h55 class ObjCPropertyDecl; variable
495 const ObjCPropertyDecl *findPropertyDecl(bool CheckOverrides = true) const;
729 class ObjCPropertyDecl : public NamedDecl {
772 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id, in ObjCPropertyDecl() function
783 static ObjCPropertyDecl *Create(ASTContext &C, DeclContext *DC,
791 static ObjCPropertyDecl *CreateDeserialized(ASTContext &C, unsigned ID);
933 static ObjCPropertyDecl *findPropertyDecl(const DeclContext *DC,
960 using prop_iterator = specific_decl_iterator<ObjCPropertyDecl>;
962 llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>>;
975 filtered_decl_iterator<ObjCPropertyDecl,
[all …]
H A DASTMutationListener.h33 class ObjCPropertyDecl; variable
H A DExprObjC.h648 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr()
656 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr()
703 ObjCPropertyDecl *getExplicitProperty() const { in getExplicitProperty()
705 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); in getExplicitProperty()
807 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) { in setExplicitProperty()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDelayedDiagnostic.h44 class ObjCPropertyDecl; variable
140 const ObjCPropertyDecl *ObjCProperty,
225 const ObjCPropertyDecl *getObjCProperty() const { in getObjCProperty()
238 const ObjCPropertyDecl *ObjCProperty;
H A DScopeInfo.h52 class ObjCPropertyDecl; variable
278 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property);
405 const ObjCPropertyDecl *Prop);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DBodyFarm.h27 class ObjCPropertyDecl; variable
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.h22 class ObjCPropertyDecl; variable
405 bool handleObjCProperty(const ObjCPropertyDecl *D);
H A DCXType.cpp242 if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D)) in clang_getCursorType()
1110 } else if (const ObjCPropertyDecl *OPD = dyn_cast<ObjCPropertyDecl>(D)) in clang_getDeclObjCTypeEncoding()
H A DCursorVisitor.h227 bool VisitObjCPropertyDecl(ObjCPropertyDecl *PD);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.cpp704 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
747 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter()
756 if (const ObjCPropertyDecl *Candidate = PI->getPropertyDecl()) { in createObjCPropertyGetter()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexDecl.cpp134 const ObjCPropertyDecl *AssociatedProp = nullptr) { in handleObjCMethod()
508 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl()
524 ObjCPropertyDecl *PD = D->getPropertyDecl(); in VisitObjCPropertyImplDecl()
H A DUSRGeneration.cpp95 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D);
475 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl()
486 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) { in VisitObjCPropertyImplDecl()

123