Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/lib/Sema/
DSemaObjCProperty.cpp110 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument
118 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); in CheckPropertyAgainstProtocol()
121 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true); in CheckPropertyAgainstProtocol()
128 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
837 ObjCPropertyDecl *Prop = I->second; in DiagnosePropertyMismatchDeclInProtocols() local
838 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols()
849 S.Diag(Prop->getLocation(), diag::note_protocol_property_declare) in DiagnosePropertyMismatchDeclInProtocols()
850 << Prop->getType(); in DiagnosePropertyMismatchDeclInProtocols()
859 static bool hasWrittenStorageAttribute(ObjCPropertyDecl *Prop, in hasWrittenStorageAttribute() argument
861 if (Prop->getPropertyAttributesAsWritten() & OwnershipMask) return true; in hasWrittenStorageAttribute()
[all …]
DScopeInfo.cpp137 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
138 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
156 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
157 assert(Msg && Prop); in recordUseOfWeak()
159 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
203 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
206 Prop)); in markSafeWeakUse()
DSemaPseudoObject.cpp579 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() local
580 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in isWeakProperty()
583 T = Prop->getType(); in isWeakProperty()
/external/clang/lib/Analysis/
DBodyFarm.cpp386 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() argument
387 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
398 if (!Prop->isReadOnly()) in findBackingIvar()
401 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
417 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar()
418 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar()
426 const ObjCPropertyDecl *Prop) { in createObjCPropertyGetter() argument
428 const ObjCIvarDecl *IVar = findBackingIvar(Prop); in createObjCPropertyGetter()
433 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in createObjCPropertyGetter()
445 if (I->getPropertyDecl() != Prop) in createObjCPropertyGetter()
[all …]
/external/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m51 @property (copy) id Prop; property
55 @property (copy) id Prop; property
62 @synthesize Prop=_XXX;
66 @property (copy) id Prop; property
70 @property (copy) id Prop; property
74 @property (copy) id Prop; property
Dobjcmt-protocol-conformance.m.result51 @property (copy) id Prop;
55 @property (copy) id Prop;
62 @synthesize Prop=_XXX;
66 @property (copy) id Prop;
70 @property (copy) id Prop;
74 @property (copy) id Prop;
/external/clang/test/SemaObjC/
Dforward-protocol-incomplete-impl-warn.m8 @property int Prop; // expected-note {{property declared here}} property
18 … expected-warning {{auto property synthesis will not synthesize property 'Prop' declared in protoc…
Dobjc-independent-class-attribute.m20 @property (copy) NSObject *__attribute__((objc_independent_class)) Prop; // expected-warning {{'obj… property
/external/clang/test/SemaObjCXX/
Dabstract-class-type-ivar.mm20 @property (nonatomic, readonly) const CppConcreteSub Prop; // expected-note {{property declared he… property
27 @synthesize Prop; // expected-error {{synthesized instance variable type 'const CppConcreteSub' is …
/external/clang/lib/AST/
DDeclObjC.cpp372 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
373 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
374 PO.push_back(Prop); in collectPropertiesToImplement()
378 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local
379 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
380 PO.push_back(Prop); in collectPropertiesToImplement()
1302 if (const ObjCPropertyDecl *Prop = (*I)->findPropertyDecl(false)) in findPropertyDecl() local
1303 return Prop; in findPropertyDecl()
1857 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
1860 std::make_pair(Prop->getIdentifier(), Prop->isClassProperty()), in collectPropertiesToImplement()
[all …]
/external/clang/lib/ARCMigrate/
DTransProperties.cpp79 for (auto *Prop : D->instance_properties()) { in collectProperties() local
80 if (Prop->getAtLoc().isInvalid()) in collectProperties()
82 unsigned RawLoc = Prop->getAtLoc().getRawEncoding(); in collectProperties()
87 props.push_back(Prop); in collectProperties()
DObjCMT.cpp249 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local
250 if (!Prop) in rewriteToPropertyDotSyntax()
277 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
287 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
591 for (auto *Prop : D->instance_properties()) { in migrateObjCContainerDecl() local
593 !Prop->isDeprecated()) in migrateObjCContainerDecl()
594 migratePropertyNsReturnsInnerPointer(Ctx, Prop); in migrateObjCContainerDecl()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenTarget.h186 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
DCodeGenDAGPatterns.h229 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/external/llvm/utils/TableGen/
DCodeGenTarget.h209 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
DCodeGenDAGPatterns.h254 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/external/clang/include/clang/Index/
DUSRGeneration.h47 void generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS);
/external/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp193 const ObjCPropertyDecl *Prop,
301 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument
308 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar()
321 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
DCheckObjCDealloc.cpp946 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
947 if (!Prop) in getValueReleasedByNillingOut()
950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/external/llvm/lib/Support/
DDwarf.cpp522 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
523 switch (Prop) { in ApplePropertyString()
/external/clang/lib/Index/
DUSRGeneration.cpp867 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument
868 OS << "(py)" << Prop; in generateUSRForObjCProperty()
/external/clang/include/clang/Sema/
DScopeInfo.h324 const ObjCPropertyDecl *Prop);
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp5359 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
5360 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5362 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
5364 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
5637 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
5638 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
5640 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5642 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
DRewriteModernObjC.cpp7041 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
7042 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7044 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
7046 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
7291 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
7292 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
7294 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
7296 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
/external/clang/include/clang/AST/
DDeclObjC.h2715 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument

12