Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 41) 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()
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 …]
DScopeInfo.cpp137 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()
/external/clang/lib/Analysis/
DBodyFarm.cpp386 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/
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/golang-protobuf/proto/
Dproperties.go138 Prop []*Properties // properties for each field member
160 Prop *Properties member
168 return sp.Prop[sp.order[i]].Tag < sp.Prop[sp.order[j]].Tag
684 prop.Prop = make([]*Properties, t.NumField())
709 prop.Prop[i] = p
739 Prop: new(Properties),
742 oop.Prop.Name = sft.Name
743 oop.Prop.Parse(sft.Tag.Get("protobuf"))
757 prop.OneofTypes[oop.Prop.OrigName] = oop
765 for i, p := range prop.Prop {
[all …]
Dtext_parser.go390 props := sprops.Prop[i]
402 return i, sprops.Prop[i], true
592 props = oop.Prop
Dequal.go123 if !equalAny(f1, f2, sprop.Prop[i]) {
Dclone.go84 mergeAny(out.Field(i), in.Field(i), false, sprop.Prop[i])
/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/lib/AST/
DDeclObjC.cpp372 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/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/ARCMigrate/
DTransProperties.cpp79 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()
DObjCMT.cpp249 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/
DCodeGenTarget.h186 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
DCodeGenDAGPatterns.h229 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/external/llvm/utils/TableGen/
DCodeGenTarget.h209 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/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp193 const ObjCPropertyDecl *Prop,
301 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument
308 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar()
321 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
DCheckObjCDealloc.cpp946 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
947 if (!Prop) in getValueReleasedByNillingOut()
950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/external/clang/include/clang/Index/
DUSRGeneration.h47 void generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS);
/external/golang-protobuf/jsonpb/
Djsonpb.go163 return m.marshalValue(out, sprop.Prop[0], s.Field(0), indent)
861 valueForField, ok := consumeField(sprops.Prop[i])
866 if err := u.unmarshalValue(target.Field(i), valueForField, sprops.Prop[i]); err != nil {
873 raw, ok := consumeField(oop.Prop)
879 if err := u.unmarshalValue(nv.Elem().Field(0), raw, oop.Prop); err != nil {
/external/llvm/lib/Support/
DDwarf.cpp522 const char *llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
523 switch (Prop) { in ApplePropertyString()
/external/clang/lib/Index/
DUSRGeneration.cpp867 void clang::index::generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS) { in generateUSRForObjCProperty() argument
868 OS << "(py)" << Prop; in generateUSRForObjCProperty()

12