Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm-project/clang/lib/Sema/
DSemaObjCProperty.cpp107 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument
115 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); in CheckPropertyAgainstProtocol()
118 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true); in CheckPropertyAgainstProtocol()
125 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
873 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() local
875 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
876 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols()
877 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols()
897 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols() member
902 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols()
[all …]
DScopeInfo.cpp132 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
133 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
151 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
152 assert(Msg && Prop); in recordUseOfWeak()
154 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
198 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
201 Prop)); in markSafeWeakUse()
/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/llvm-project/clang-tools-extra/clangd/unittests/support/
DTraceTests.cpp51 for (auto &Prop : *M) { in VerifyObject()
52 auto *K = llvm::dyn_cast_or_null<llvm::yaml::ScalarNode>(Prop.getKey()); in VerifyObject()
60 auto *V = llvm::dyn_cast_or_null<llvm::yaml::ScalarNode>(Prop.getValue()); in VerifyObject()
110 auto Prop = Root->begin(); in TEST() local
111 ASSERT_NE(Prop, Root->end()) << "Expected displayTimeUnit property"; in TEST()
112 ASSERT_THAT(Prop->getKey(), StringNode("displayTimeUnit")); in TEST()
113 EXPECT_THAT(Prop->getValue(), StringNode("ns")); in TEST()
114 ASSERT_NE(++Prop, Root->end()) << "Expected traceEvents property"; in TEST()
115 EXPECT_THAT(Prop->getKey(), StringNode("traceEvents")); in TEST()
117 llvm::dyn_cast_or_null<llvm::yaml::SequenceNode>(Prop->getValue()); in TEST()
[all …]
/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/llvm-project/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.go101 Prop []*Properties // properties for each field member
116 Prop *Properties member
124 return sp.Prop[sp.order[i]].Tag < sp.Prop[sp.order[j]].Tag
365 prop.Prop = make([]*Properties, t.NumField())
379 prop.Prop[i] = p
406 Prop: new(Properties),
409 oop.Prop.Name = sft.Name
410 oop.Prop.Parse(sft.Tag.Get("protobuf"))
424 prop.OneofTypes[oop.Prop.OrigName] = oop
432 for i, p := range prop.Prop {
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp704 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() argument
705 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
716 if (!Prop->isReadOnly()) in findBackingIvar()
719 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
735 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar()
736 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar()
763 const ObjCPropertyDecl *Prop = MD->findPropertyDecl(); in createObjCPropertyGetter() local
764 IVar = findBackingIvar(Prop); in createObjCPropertyGetter()
769 if (Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak) in createObjCPropertyGetter()
781 if (I->getPropertyDecl() != Prop) in createObjCPropertyGetter()
[all …]
/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…
/external/llvm-project/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…
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/annotation/
DJsonAppend.java33 public Prop[] props() default { }; in props()
88 public @interface Prop annotation
/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/llvm-project/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.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/llvm-project/clang/lib/AST/
DDeclObjC.cpp396 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
397 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
398 PO.push_back(Prop); in collectPropertiesToImplement()
402 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local
403 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
404 PO.push_back(Prop); in collectPropertiesToImplement()
1409 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) in findPropertyDecl() local
1410 return Prop; in findPropertyDecl()
1984 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
1987 std::make_pair(Prop->getIdentifier(), Prop->isClassProperty()), in collectPropertiesToImplement()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DJSON.h763 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument
765 if (const Value *E = O->get(Prop)) in map()
766 return fromJSON(*E, Out, P.field(Prop)); in map()
767 P.field(Prop).report("missing value"); in map()
774 template <typename T> bool map(StringLiteral Prop, llvm::Optional<T> &Out) { in map() argument
776 if (const Value *E = O->get(Prop)) in map()
777 return fromJSON(*E, Out, P.field(Prop)); in map()
785 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument
787 if (const Value *E = O->get(Prop)) in mapOptional()
788 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestVirtualProperties.java78 @JsonAppend(prepend=true, props={ @JsonAppend.Prop(value=CustomVProperty.class, name="id"),
79 @JsonAppend.Prop(value=CustomVProperty.class, name="extra")
/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()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenIntrinsics.h176 bool hasProperty(enum SDNP Prop) const { in hasProperty()
177 return Properties & (1 << Prop); in hasProperty()
DCodeGenTarget.h219 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

1234