Home
last modified time | relevance | path

Searched refs:PropDecl (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp571 const ObjCPropertyDecl *PropDecl = PropImpl->getPropertyDecl(); in diagnoseMissingReleases() local
573 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Copy || in diagnoseMissingReleases()
574 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases()
579 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
670 const ObjCPropertyDecl *PropDecl = findShadowedPropertyDecl(PropImpl); in diagnoseExtraRelease() local
671 if (PropDecl) { in diagnoseExtraRelease()
672 if (PropDecl->isReadOnly()) in diagnoseExtraRelease()
675 PropDecl = PropImpl->getPropertyDecl(); in diagnoseExtraRelease()
685 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Weak || in diagnoseExtraRelease()
686 (PropDecl->getSetterKind() == ObjCPropertyDecl::Assign && in diagnoseExtraRelease()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp205 auto *PropDecl = PID->getPropertyDecl(); in visitPropImpl() local
211 auto [IsUnsafe, PropType] = isPropImplUnsafePtr(PropDecl); in visitPropImpl()
216 reportBug(PropDecl, PropType, MemberCXXRD, CD); in visitPropImpl()
218 reportBug(PropDecl, PropType, ObjCDecl, CD); in visitPropImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp2074 for (auto *PropDecl : PDecl->properties()) { in DiagnoseUnimplementedProperties() local
2075 if ((*LazyMap)[std::make_pair(PropDecl->getIdentifier(), in DiagnoseUnimplementedProperties()
2076 PropDecl->isClassProperty())]) in DiagnoseUnimplementedProperties()
2078 PropMap[std::make_pair(PropDecl->getIdentifier(), in DiagnoseUnimplementedProperties()
2079 PropDecl->isClassProperty())] = PropDecl; in DiagnoseUnimplementedProperties()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1005 if (const ObjCPropertyDecl *PropDecl = getAccessedProperty()) { in getExtraInvalidatedValues() local
1006 if (const ObjCIvarDecl *PropIvar = PropDecl->getPropertyIvarDecl()) { in getExtraInvalidatedValues()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6334 ObjCPropertyDecl *PropDecl = Properties[i]; in Write_prop_list_t_initializer() local
6339 Result += PropDecl->getName(); Result += "\","; in Write_prop_list_t_initializer()
6341 Context->getObjCEncodingForPropertyDecl(PropDecl, Container); in Write_prop_list_t_initializer()