Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 27) 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()
828 ObjCPropertyDecl *Prop = I->second; in DiagnosePropertyMismatchDeclInProtocols() local
829 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols()
840 S.Diag(Prop->getLocation(), diag::note_protocol_property_declare) in DiagnosePropertyMismatchDeclInProtocols()
841 << Prop->getType(); in DiagnosePropertyMismatchDeclInProtocols()
850 static bool hasWrittenStorageAttribute(ObjCPropertyDecl *Prop) { in hasWrittenStorageAttribute() argument
851 if (Prop->getPropertyAttributesAsWritten() & OwnershipMask) return true; in hasWrittenStorageAttribute()
[all …]
DScopeInfo.cpp134 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
135 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
153 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
154 assert(Msg && Prop); in recordUseOfWeak()
156 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
203 Prop)); in markSafeWeakUse()
DSemaPseudoObject.cpp579 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() local
580 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in isWeakProperty()
581 return !Prop->hasAttr<IBOutletAttr>(); in isWeakProperty()
583 T = Prop->getType(); in isWeakProperty()
DSemaExprObjC.cpp2980 if (const ObjCPropertyDecl *Prop = Method->findPropertyDecl()) { in BuildInstanceMessage() local
2982 Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak; in BuildInstanceMessage()
2987 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
DSemaLookup.cpp4203 if (ObjCPropertyDecl *Prop = Class->FindPropertyDeclaration(Name)) { in LookupPotentialTypoResult() local
4204 Res.addDecl(Prop); in LookupPotentialTypoResult()
/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/lib/Analysis/
DBodyFarm.cpp387 const ObjCPropertyDecl *Prop) { in createObjCPropertyGetter() argument
389 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
394 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak) in createObjCPropertyGetter()
406 if (I->getPropertyDecl() != Prop) in createObjCPropertyGetter()
420 Prop->getType().getNonReferenceType())) in createObjCPropertyGetter()
430 const VarDecl *selfVar = Prop->getGetterMethodDecl()->getSelfDecl(); in createObjCPropertyGetter()
439 if (!Prop->getType()->isReferenceType()) in createObjCPropertyGetter()
457 const ObjCPropertyDecl *Prop = D->findPropertyDecl(); in getBody() local
458 if (!Prop) in getBody()
465 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.cpp344 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
345 PM[Prop->getIdentifier()] = Prop; in collectPropertiesToImplement()
346 PO.push_back(Prop); in collectPropertiesToImplement()
350 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local
351 PM[Prop->getIdentifier()] = Prop; in collectPropertiesToImplement()
352 PO.push_back(Prop); in collectPropertiesToImplement()
1264 if (const ObjCPropertyDecl *Prop = (*I)->findPropertyDecl(false)) in findPropertyDecl() local
1265 return Prop; in findPropertyDecl()
1823 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
1825 PM.insert(std::make_pair(Prop->getIdentifier(), Prop)); in collectPropertiesToImplement()
[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.cpp248 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local
249 if (!Prop) in rewriteToPropertyDotSyntax()
276 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
286 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
591 for (auto *Prop : D->properties()) { in migrateObjCContainerDecl() local
593 !Prop->isDeprecated()) in migrateObjCContainerDecl()
594 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.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.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/llvm/lib/Support/
DDwarf.cpp523 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
524 switch (Prop) { in ApplePropertyString()
/external/clang/lib/Index/
DUSRGeneration.cpp838 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument
839 OS << "(py)" << Prop; in generateUSRForObjCProperty()
/external/clang/include/clang/Sema/
DScopeInfo.h316 const ObjCPropertyDecl *Prop);
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp5380 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
5381 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5383 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
5385 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
5658 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
5659 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
5661 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5663 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
DRewriteModernObjC.cpp7164 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
7165 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7167 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
7169 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
7416 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
7417 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
7419 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
7421 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
/external/clang/include/clang/AST/
DDeclObjC.h2663 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument
/external/clang/lib/CodeGen/
DCGObjCMac.cpp2887 llvm::Constant *Prop[] = { in PushProtocolProperties() local
2891 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in PushProtocolProperties()
2915 llvm::Constant *Prop[] = {GetPropertyName(PD->getIdentifier()), in EmitPropertyList() local
2917 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in EmitPropertyList()

12