Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp107 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument
116 Proto->lookup(Prop->getDeclName()).find_first<ObjCPropertyDecl>()) { in CheckPropertyAgainstProtocol()
117 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true); in CheckPropertyAgainstProtocol()
123 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol()
866 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() local
868 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
869 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols()
870 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols()
890 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols() member
895 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols()
[all …]
H A 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()
H A DSemaPseudoObject.cpp584 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() local
585 if (Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak) in isWeakProperty()
588 T = Prop->getType(); in isWeakProperty()
H A DAnalysisBasedWarnings.cpp1489 if (const ObjCPropertyDecl *Prop = dyn_cast<ObjCPropertyDecl>(KeyProp)) in diagnoseRepeatedUseOfWeak() local
1490 if (Prop->hasAttr<IBOutletAttr>()) in diagnoseRepeatedUseOfWeak()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A 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()
747 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() local
758 Prop = Candidate; in createObjCPropertyGetter()
759 IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
766 Prop = MD->findPropertyDecl(); in createObjCPropertyGetter()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A 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()
1410 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) in findPropertyDecl() local
1411 return Prop; in findPropertyDecl()
1983 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
1986 std::make_pair(Prop->getIdentifier(), Prop->isClassProperty()), in collectPropertiesToImplement()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h179 bool hasProperty(enum SDNP Prop) const { in hasProperty()
180 return Properties & (1 << Prop); in hasProperty()
H A DCodeGenTarget.h220 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
H A DCodeGenDAGPatterns.h476 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransProperties.cpp78 for (auto *Prop : D->instance_properties()) { in collectProperties() local
79 SourceLocation Loc = Prop->getAtLoc(); in collectProperties()
86 props.push_back(Prop); in collectProperties()
H A DObjCMT.cpp252 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local
253 if (!Prop) in rewriteToPropertyDotSyntax()
280 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
290 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax()
594 for (auto *Prop : D->instance_properties()) { in migrateObjCContainerDecl() local
596 !Prop->isDeprecated()) in migrateObjCContainerDecl()
597 migratePropertyNsReturnsInnerPointer(Ctx, Prop); in migrateObjCContainerDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp192 const ObjCPropertyDecl *Prop,
300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument
307 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar()
320 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
H A DCheckObjCDealloc.cpp945 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
946 if (!Prop) in getValueReleasedByNillingOut()
949 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Index/
H A DUSRGeneration.h54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp824 DbgValue(const ValueIDNum &Val, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
825 : ID(Val), Properties(Prop), Kind(Kind) { in DbgValue()
829 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
830 : BlockNo(BlockNo), Properties(Prop), Kind(Kind) { in DbgValue()
834 DbgValue(const MachineOperand &MO, const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
835 : MO(MO), Properties(Prop), Kind(Kind) { in DbgValue()
839 DbgValue(const DbgValueProperties &Prop, KindT Kind) in DbgValue() argument
840 : Properties(Prop), Kind(Kind) { in DbgValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DDwarf.cpp565 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
566 switch (Prop) { in ApplePropertyString()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dtraits.d635 interface Prop { int prop() @property; }
636 Prop prop;
637 static assert(is( FunctionTypeOf!(Prop.prop) == GetterType ));
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexSymbol.cpp580 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() argument
585 switch (Prop) { in printSymbolProperties()
H A DUSRGeneration.cpp1056 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForObjCProperty() argument
1058 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; in generateUSRForObjCProperty()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5366 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
5367 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5369 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
5371 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
5374 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
5379 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData()
5644 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
5645 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
5647 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5649 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
[all …]
H A DRewriteModernObjC.cpp7041 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()
7049 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
7054 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) 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()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineFunction.cpp89 static const char *getPropertyName(MachineFunctionProperties::Property Prop) { in getPropertyName() argument
92 switch(Prop) { in getPropertyName()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h405 const ObjCPropertyDecl *Prop);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h2808 void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; } in setPropertyDecl() argument

12