/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() 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 …]
|
D | ScopeInfo.cpp | 134 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()
|
D | SemaPseudoObject.cpp | 579 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()
|
D | SemaExprObjC.cpp | 2980 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()
|
D | SemaLookup.cpp | 4203 if (ObjCPropertyDecl *Prop = Class->FindPropertyDeclaration(Name)) { in LookupPotentialTypoResult() local 4204 Res.addDecl(Prop); in LookupPotentialTypoResult()
|
/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/lib/Analysis/ |
D | BodyFarm.cpp | 387 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/ |
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 | 344 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/ |
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 | 248 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/ |
D | CodeGenTarget.h | 214 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 | 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/llvm/lib/Support/ |
D | Dwarf.cpp | 523 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument 524 switch (Prop) { in ApplePropertyString()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 838 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument 839 OS << "(py)" << Prop; in generateUSRForObjCProperty()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 316 const ObjCPropertyDecl *Prop);
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 5380 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()
|
D | RewriteModernObjC.cpp | 7164 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/ |
D | DeclObjC.h | 2663 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument
|
/external/clang/lib/CodeGen/ |
D | CGObjCMac.cpp | 2887 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()
|