/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 110 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 …]
|
D | ScopeInfo.cpp | 137 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()
|
D | SemaPseudoObject.cpp | 579 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/ |
D | BodyFarm.cpp | 386 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/ |
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
|
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;
|
/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 | 372 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/ |
D | TransProperties.cpp | 79 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()
|
D | ObjCMT.cpp | 249 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/ |
D | CodeGenTarget.h | 186 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
D | CodeGenDAGPatterns.h | 229 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.h | 209 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
D | CodeGenDAGPatterns.h | 254 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 | 193 const ObjCPropertyDecl *Prop, 301 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument 308 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar() 321 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
|
D | CheckObjCDealloc.cpp | 946 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local 947 if (!Prop) in getValueReleasedByNillingOut() 950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
|
/external/llvm/lib/Support/ |
D | Dwarf.cpp | 522 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument 523 switch (Prop) { in ApplePropertyString()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 867 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument 868 OS << "(py)" << Prop; in generateUSRForObjCProperty()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 324 const ObjCPropertyDecl *Prop);
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 5359 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()
|
D | RewriteModernObjC.cpp | 7041 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/ |
D | DeclObjC.h | 2715 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument
|