/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 118 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 …]
|
D | ScopeInfo.cpp | 131 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()
|
D | SemaPseudoObject.cpp | 547 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/ |
D | objcmt-protocol-conformance.m.result | 51 @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;
|
D | objcmt-protocol-conformance.m | 51 @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/ |
D | BodyFarm.cpp | 390 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/ |
D | forward-protocol-incomplete-impl-warn.m | 8 @property int Prop; // expected-note {{property declared here}} property 18 … expected-warning {{auto property synthesis will not synthesize property 'Prop' declared in protoc…
|
D | objc-independent-class-attribute.m | 20 @property (copy) NSObject *__attribute__((objc_independent_class)) Prop; // expected-warning {{'obj… property
|
/external/clang/test/SemaObjCXX/ |
D | abstract-class-type-ivar.mm | 20 @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/ |
D | DeclObjC.cpp | 270 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/ |
D | TransProperties.cpp | 79 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()
|
D | ObjCMT.cpp | 258 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/ |
D | CodeGenTarget.h | 214 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
D | CodeGenDAGPatterns.h | 248 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 47 void generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 196 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/ |
D | MultiplexConsumer.cpp | 108 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/ |
D | ASTMutationListener.h | 102 virtual void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop, in AddedObjCPropertyInClassExtension() argument
|
D | DeclObjC.h | 2431 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument
|
/external/llvm/lib/Support/ |
D | Dwarf.cpp | 479 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument 480 switch (Prop) { in ApplePropertyString()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 831 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument 832 OS << "(py)" << Prop; in generateUSRForObjCProperty()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 302 const ObjCPropertyDecl *Prop);
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 5395 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()
|
D | RewriteModernObjC.cpp | 7187 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/ |
D | ASTWriter.h | 852 void AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
|