Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaObjCProperty.cpp118 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument
126 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); in CheckPropertyAgainstProtocol()
129 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true); in CheckPropertyAgainstProtocol()
136 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
774 ObjCPropertyDecl *Prop = I->second; in DiagnosePropertyMismatchDeclInProtocols() local
775 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols()
786 S.Diag(Prop->getLocation(), diag::note_protocol_property_declare) in DiagnosePropertyMismatchDeclInProtocols()
787 << Prop->getType(); in DiagnosePropertyMismatchDeclInProtocols()
1430 for (auto *Prop : IDecl->properties()) in CollectImmediateProperties() local
1431 PropMap[Prop->getIdentifier()] = Prop; in CollectImmediateProperties()
[all …]
DScopeInfo.cpp131 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
132 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
150 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
151 assert(Msg && Prop); in recordUseOfWeak()
153 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
197 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
200 Prop)); in markSafeWeakUse()
DSemaPseudoObject.cpp547 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() local
548 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in isWeakProperty()
549 return !Prop->hasAttr<IBOutletAttr>(); in isWeakProperty()
551 T = Prop->getType(); in isWeakProperty()
/external/clang/test/ARCMT/
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;
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
/external/clang/lib/Analysis/
DBodyFarm.cpp390 const ObjCPropertyDecl *Prop) { in createObjCPropertyGetter() argument
392 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
397 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in createObjCPropertyGetter()
409 if (I->getPropertyDecl() != Prop) in createObjCPropertyGetter()
423 Prop->getType().getNonReferenceType())) in createObjCPropertyGetter()
433 const VarDecl *selfVar = Prop->getGetterMethodDecl()->getSelfDecl(); in createObjCPropertyGetter()
442 if (!Prop->getType()->isReferenceType()) in createObjCPropertyGetter()
460 const ObjCPropertyDecl *Prop = D->findPropertyDecl(); in getBody() local
461 if (!Prop) in getBody()
468 Val = createObjCPropertyGetter(C, Prop); in getBody()
/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.cpp270 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
271 PM[Prop->getIdentifier()] = Prop; in collectPropertiesToImplement()
272 PO.push_back(Prop); in collectPropertiesToImplement()
1132 if (const ObjCPropertyDecl *Prop = (*I)->findPropertyDecl(false)) in findPropertyDecl() local
1133 return Prop; in findPropertyDecl()
1604 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
1606 PM.insert(std::make_pair(Prop->getIdentifier(), Prop)); in collectPropertiesToImplement()
1607 PO.push_back(Prop); in collectPropertiesToImplement()
1621 for (auto *Prop : PDecl->properties()) { in collectInheritedProtocolProperties() local
1622 if (Prop == Property) in collectInheritedProtocolProperties()
[all …]
/external/clang/lib/ARCMigrate/
DTransProperties.cpp79 for (auto *Prop : D->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.cpp258 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local
259 if (!Prop) in rewriteToPropertyDotSyntax()
286 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
296 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
601 for (auto *Prop : D->properties()) { in migrateObjCContainerDecl() local
603 !Prop->isDeprecated()) in migrateObjCContainerDecl()
604 migratePropertyNsReturnsInnerPointer(Ctx, Prop); in migrateObjCContainerDecl()
/external/llvm/utils/TableGen/
DCodeGenTarget.h214 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
DCodeGenDAGPatterns.h248 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.cpp196 const ObjCPropertyDecl *Prop,
305 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument
312 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar()
325 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp108 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
183 const ObjCPropertyDecl *Prop, in AddedObjCPropertyInClassExtension() argument
187 Listeners[i]->AddedObjCPropertyInClassExtension(Prop, OrigProp, ClassExt); in AddedObjCPropertyInClassExtension()
/external/clang/include/clang/AST/
DASTMutationListener.h102 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, in AddedObjCPropertyInClassExtension() argument
DDeclObjC.h2431 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument
/external/llvm/lib/Support/
DDwarf.cpp479 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
480 switch (Prop) { in ApplePropertyString()
/external/clang/lib/Index/
DUSRGeneration.cpp831 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument
832 OS << "(py)" << Prop; in generateUSRForObjCProperty()
/external/clang/include/clang/Sema/
DScopeInfo.h302 const ObjCPropertyDecl *Prop);
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp5395 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
5396 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5398 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
5400 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
5673 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
5674 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
5676 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5678 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
DRewriteModernObjC.cpp7187 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
7188 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7190 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
7192 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
7439 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
7440 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
7442 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
7444 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
/external/clang/include/clang/Serialization/
DASTWriter.h852 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,

12